Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { // oauth token containing chat:read and chat:write scopes AuthToken string // Event listeners OnMessage chan *Message // contains filtered or unexported fields }
The Bot object which stores irc info
type User ¶
type User struct { // Username of sender Username string // Moderator is true if sender is a Moderator Moderator bool // Badges contains user's badges Badges []Badge // ID represents the unique user id (static where username can change) ID string // Color represents the user's chosen chat color Color string // Subscriber represents whether user is subbed to channel Subscriber bool // Turbo represents whether user is a Turbo user Turbo bool // Owner represents whether user is the owner of the channel, owners are NOT moderators Owner bool }
User represents user sending message
Click to show internal directories.
Click to hide internal directories.