package
Version:
v0.0.0-...-9bc5058
Opens a new window with list of versions in this module.
Published: Nov 15, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HasPermission checks if the bot has a permission.
IsZero checks if the passed value is a zero value
SendError sends an error to the error channel
type Config struct {
LogChannel string `yaml:"logChannel"`
Prefix string `yaml:"prefix"`
Status string `yaml:"status"`
Token string `yaml:"token"`
}
Config represents the bot configuration file.
GetConfig gets the config from the filesystem followed by a singleton
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.