Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController() *controller
Types ¶
type CallbackSignature ¶
type CallbackSignature func(args []string, privateMessage *twitch.PrivateMessage, ircClient *twitch.Client) error
var Ping CallbackSignature = func(args []string, message *twitch.PrivateMessage, ircClient *twitch.Client) error { ircClient.Say(message.Channel, fmt.Sprintf("Pong! @%s", message.User.DisplayName)) return nil }
func HasRole ¶
func HasRole(roles []string, cb CallbackSignature) CallbackSignature
Click to show internal directories.
Click to hide internal directories.