Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Bot struct { Token string `json:"token"` Prefixes []string `json:"prefixes"` Owners []string `json:"owners"` Statuses []string `json:"statuses"` StatusInterval string `json:"statusInterval"` } `json:"bot"` Database struct { Connection string `json:"connection"` } `json:"db"` Miscellaneous struct { ColorEnabled bool `json:"colorEnabled"` SuggestionChannel string `json:"suggestions"` } `json:"miscellaneous"` }
func LoadConfiguration ¶
func LoadConfiguration(file string, log *logrus.Logger) Configuration
Click to show internal directories.
Click to hide internal directories.