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

Back to softban for phishing domains, 2 valid runs so far.

This commit is contained in:
toast-ts 2024-02-24 09:28:22 +11:00
parent eb9cf0d773
commit 31b74520e4

View File

@ -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: {