1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 20:30:58 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Noinkin
9184ab1061
Merge f537958dc0 into dc8c3cd056 2024-04-16 12:51:41 +10:00
Noinkin
f537958dc0
(SPAM) Should change required for punishment to 8 2024-04-14 15:52:22 +01:00

View File

@ -50,7 +50,7 @@ export default class MessageCreate {
automodded = true; automodded = true;
message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason)); message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason));
message.channel.send('Spamming is not cool, slow down!').then(x=>setTimeout(()=>x.delete(), 15000)); 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]; delete client.repeatedMessages[message.author.id];
} }
}, },