Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commit = ""
View Source
var ErrUsage = errors.New("Wrong command usage")
View Source
var Version = ""
Functions ¶
func SetDefaults ¶ added in v1.0.0
func SetDefaults()
Types ¶
type Bot ¶
type Bot interface { RegisterCommands(plugins ...Command) RegisterTriggers(plugins ...Trigger) Commands() []Command }
Bot handles trigger/command execution
type IRCClient ¶ added in v0.7.2
type IRCClient interface { Connect() error Close() OnEvent(callback func(event interface{})) Sender Checker }
IRCClient is a simplified client given to plugins.
Click to show internal directories.
Click to hide internal directories.