From 5a250b538c2ad43c2e4e0a3e66f3bae2aa5c69c4 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 3 Jun 2018 00:41:21 +0200 Subject: [PATCH] Decrease command cooldown to 10 seconds. --- antispam/antispam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antispam/antispam.go b/antispam/antispam.go index b7292a2..f5aaa03 100644 --- a/antispam/antispam.go +++ b/antispam/antispam.go @@ -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