master
Marc 2021-05-31 23:31:56 +01:00
parent 3619177cc9
commit 0918eda312
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
2 changed files with 9 additions and 0 deletions

View File

@ -97,6 +97,8 @@ func main() {
o := overwatch.Overwatch{ o := overwatch.Overwatch{
TotalMessages: 0, TotalMessages: 0,
UserMessages: make(map[string]*overwatch.UserMessageStat), UserMessages: make(map[string]*overwatch.UserMessageStat),
Commands: &c,
Config: &Config,
} }
// Add Handlers for Bot // Add Handlers for Bot

View File

@ -40,4 +40,11 @@ type Configuration struct {
LoggingChannel string `json:"logging_channel"` LoggingChannel string `json:"logging_channel"`
ConfigPath string ConfigPath string
FilterLanguage bool
JoinFloodThreshold int
UserMessageThreshold int
MaxUserWarnings int
MaxUserKicks int
EnforceMode bool
} }