Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = ConfigType{}
Functions ¶
func LoadConfig ¶
func LoadConfig(configPath *string)
Types ¶
type ConfigType ¶
type ConfigType struct {
DbPath string `json:"db_path"`
ReactionThreshold int `json:"reaction_threshold"`
ChannelIds []string `json:"channel_ids"`
IgnoreAfterHours int `json:"ignore_after_hours"`
DiscordBotToken string
XConsumerKey string
XConsumerSecret string
XAcessToken string
XTokenSecret string
}
Click to show internal directories.
Click to hide internal directories.