From 7edbd072ea9dcf76bf8a4ee2f82ae084b14c85d9 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 24 Feb 2024 09:28:22 +1100 Subject: [PATCH] Back to softban for phishing domains, 2 valid runs so far. --- 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 083a9e0..a1f080b 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -22,7 +22,7 @@ export default class MessageCreate { automodded = true; message.delete().catch(()=>Logger.console('log', 'AUTOMOD:PHISHING', automodFailReason)); message.channel.send('Phishing links aren\'t allowed here. Nice try though!').then(msg=>setTimeout(()=>msg.delete(), 15000)); - await Automoderator.repeatedMessages(client, message, 'mute', 60000, 3, 'phish', '15m', 'Phishing/scam link'); + await Automoderator.repeatedMessages(client, message, 'softban', 60000, 3, 'phish', '15m', 'Phishing/scam link'); } }, prohibitedWords: {