10 instead of 5

This commit is contained in:
Bella 2020-02-12 19:46:11 -05:00
parent 95af92e4a0
commit 7e0c7e599e
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class AntiChatSpam extends Module {
messageHistory
.entrySet()
.stream()
.filter(entry -> entry.getValue() < System.currentTimeMillis() - 5 * 60 * 1000) // 5 is delay in minutes
.filter(entry -> entry.getValue() < System.currentTimeMillis() - 10 * 60 * 1000) // 5 is delay in minutes
.collect(Collectors.toList())
.forEach(entry -> messageHistory.remove(entry.getKey()));
}