Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Plugins is a map of all plugins for the bot Plugins = make(map[string]*Plugin) // Prefix is the prefix of all commands for the bot Prefix string // InfChan for information InfChan = make(chan string) // WarnChan for warnings WarnChan = make(chan error) // ErrChan for errors that are not fatal ErrChan = make(chan error) // FatalChan for errors that are fatal FatalChan = make(chan error) // SoundQueue is a queue for sound being played SoundQueue = make(chan *Sound) // SkipSiq is a signal to skip the currently playing item SkipSig = make(chan interface{}) // Config for plugins to use Config *config.TomlConfig )
Functions ¶
Types ¶
type Help ¶
type Help struct { // A map of commands and their uses Commands map[string]string // If true the commands defined will be showed when help is called View bool // A explanation of the plugin Explanation string }
Help is a collection of some useful fields for users
Click to show internal directories.
Click to hide internal directories.