Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BuildTime is the time when the binary was built // filled in with ./build.sh (ldflags) BuildTime string BuildRelease string BuildHash string BuildBranch string )
Functions ¶
func IsDuplicateKey ¶
Types ¶
type DBUser ¶
type DBUser struct { // ID in the database ID int // Name of the user, i.e. snusbot Name string // Type of the user Type string TwitchCredentials TwitchClientCredentials }
DBUser xD
type Emote ¶
type Emote struct { Name string `json:"name"` ID string `json:"id"` // Possible types: bttv, twitch, ffz Type string `json:"type"` // Size in pixels SizeX int `json:"size_x"` SizeY int `json:"size_y"` IsGif bool `json:"is_gif"` Count int `json:"count"` MaxScale int `json:"max_scale"` }
Emote xD
type ExtensionEmotes ¶
type ExtensionEmotes struct { // Global BTTV Emotes Bttv map[string]Emote BttvLastUpdate time.Time // Global FrankerFaceZ Emotes FrankerFaceZ map[string]Emote FrankerFaceZLastUpdate time.Time }
ExtensionEmotes is an object which contains emotes that are shared between all channels
type GlobalUser ¶
GlobalUser will only be used by boss to check if user is admin and to decide what channel to send the message to if its a whisper
type MsgType ¶
type MsgType uint32
MsgType specifies the message's type, for example PRIVMSG or WHISPER
const ( MsgPrivmsg MsgType = iota + 1 MsgWhisper MsgSub MsgThrowAway MsgUnknown MsgUserNotice MsgReSub MsgNotice MsgRoomState MsgSubsOn MsgSubsOff MsgSlowOn MsgSlowOff MsgR9kOn MsgR9kOff MsgHostOn MsgHostOff MsgTimeoutSuccess MsgReconnect )
Various message types which describe what sort of message they are
type TwitchClientCredentials ¶
TwitchClientCredentials xD
Source Files ¶
Click to show internal directories.
Click to hide internal directories.