make interval 1.5 seconds between messages

This commit is contained in:
MSFTserver 2017-11-01 11:24:27 -07:00 committed by GitHub
parent 7532d6b504
commit c83169a2ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {
});
}
}
}
}