Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyConf ¶
AnyConf is like AConf but it accepts any struct and will attempt to unmarshal the config file in the location defined by prefix into it
func CheckDirExist ¶
CheckDirExist is a lazy function to determine if a directory exists or not
func CheckExist ¶
CheckExist is a lazy function to determine if a file exists or not
Types ¶
type Bot ¶
type Bot struct { Debugm bool Prefix []string Admins []string DebugCommands bool `toml:"EnableDebugCommands"` }
Bot contains some general purpose configuration
Click to show internal directories.
Click to hide internal directories.