Decrease command cooldown to 10 seconds.
parent
724139900e
commit
5a250b538c
|
@ -50,7 +50,7 @@ func (m *AntiSpam) init() {
|
|||
m.userTrackingMap = map[string][]time.Time{}
|
||||
m.commandTrackingMap = map[string][]time.Time{}
|
||||
|
||||
m.CommandCooldownDuration = 15 * time.Second
|
||||
m.CommandCooldownDuration = 10 * time.Second
|
||||
m.CommandRateLimitCount = 2
|
||||
m.CommandRateLimitDuration = 1 * time.Minute
|
||||
|
||||
|
|
Loading…
Reference in New Issue