Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot interface {
Register(command string, f PluginCallFunc)
Send(context MessageContext, message string)
}
type MessageContext ¶
type PluginCallFunc ¶
type PluginCallFunc = func(bot Bot, context MessageContext, arguments []string, config Config) error
type PluginRunFunc ¶
type PluginRunFunc = func(bot Bot, stop <-chan struct{})
type PluginSetupFunc ¶
type PluginSetupFunc = func(bot Bot)
Click to show internal directories.
Click to hide internal directories.