From c83169a2abd9616f8946b76e7b3bd1dd0a807d49 Mon Sep 17 00:00:00 2001 From: MSFTserver Date: Wed, 1 Nov 2017 11:24:27 -0700 Subject: [PATCH] make interval 1.5 seconds between messages --- bot/modules/spam-detection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/modules/spam-detection.js b/bot/modules/spam-detection.js index aa2910c..2732b90 100644 --- a/bot/modules/spam-detection.js +++ b/bot/modules/spam-detection.js @@ -21,7 +21,7 @@ exports.custom = [ exports.antiSpam = function(bot) { const warnBuffer = 5; const maxBuffer = 10; - const interval = 2000; + const interval = 1500; const warningMessage = ", Stop spamming or you will be banned! This is your warning!"; const banMessage = "has been banned for spamming!"; const maxDuplicatesWarning = 5; @@ -121,4 +121,4 @@ exports.antiSpam = function(bot) { }); } } - } \ No newline at end of file + }