mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-18 00:31:00 -05:00
Back to softban for phishing domains, 2 valid runs so far.
This commit is contained in:
parent
eb9cf0d773
commit
31b74520e4
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user