1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10: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 3714f65651
commit 7edbd072ea

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