From aca9709b80eb2c342830a57dea1abaf4f5e87926 Mon Sep 17 00:00:00 2001 From: Toast <96593068+toast-ts@users.noreply.github.com> Date: Sat, 13 Apr 2024 22:42:59 +1000 Subject: [PATCH] Increase message limit for messageSpam rule --- src/events/messageCreate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts index c62f5ad..8a6a5a2 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -50,7 +50,7 @@ export default class MessageCreate { automodded = true; message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason)); message.channel.send('Spamming is not cool, slow down!').then(x=>setTimeout(()=>x.delete(), 15000)); - await Automoderator.repeatedMessages(client, message, 'mute', 30000, 4, 'spam', '30m', 'Message spam'); + await Automoderator.repeatedMessages(client, message, 'mute', 30000, 6, 'spam', '30m', 'Message spam'); delete client.repeatedMessages[message.author.id]; } },