mirror of https://github.com/hak5/scuzzy.git
master
parent
3619177cc9
commit
0918eda312
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue