embeddables

package
v0.0.0-...-70c62f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandAttributes

type CommandAttributes struct {
	Count int `bson:"count,omitempty" json:"count"`
}

type Cooldown

type Cooldown struct {
	Global int `bson:"global" json:"global"`
	User   int `bson:"user" json:"user"`
}

type StreamStatus

type StreamStatus int
const (
	StreamLive StreamStatus = 1 << iota
	StreamOffline
)

type Timer

type Timer struct {
	Enabled     bool          `bson:"enabled" json:"enabled"`
	MinMessages int           `bson:"minMessages" json:"minMessages"`
	Interval    time.Duration `bson:"interval" json:"interval"`
	Stream      StreamStatus  `bson:"stream" json:"stream"`
}

type UserRole

type UserRole int
const (
	UserRoleGlobal UserRole = 1 << iota
	UserRoleSubscriber
	UserRoleVIP
	UserRoleEditor
	UserRoleModerator
	UserRoleSuperMod
	UserRoleBroadcaster
	UserRoleAdmin
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL