From df20adfee676896602fbe7968fe913137b6afcfc Mon Sep 17 00:00:00 2001 From: Noinkin <87577662+Noinkin@users.noreply.github.com> Date: Wed, 17 Apr 2024 17:00:00 +0100 Subject: [PATCH] Should change required for punishment to 8 for messageSpam (#111) * (SPAM) Should change required for punishment to 8 * Update messageCreate.ts --- 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 0733bbb..0667912 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, 6, 'spam', '30m', 'Message spam'); + await Automoderator.repeatedMessages(client, message, 'mute', 5000, 2, 'spam', '30m', 'Message spam'); delete client.repeatedMessages[message.author.id]; } },