mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
make interval 1.5 seconds between messages
This commit is contained in:
parent
7532d6b504
commit
c83169a2ab
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue