mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-27 04:15:38 -05:00
Ty for the lookout
This commit is contained in:
parent
f2d61c5fa9
commit
1af0c2f8aa
@ -45,7 +45,7 @@ export default class MessageCreate {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'messageSpam',
|
name: 'messageSpam',
|
||||||
check: ()=>Automoderator.isSpam(client, message, 4) && !MessageTool.isStaff(message.member as Discord.GuildMember),
|
check: ()=>Automoderator.isSpam(client, message, 6) && !MessageTool.isStaff(message.member as Discord.GuildMember),
|
||||||
action: async()=>{
|
action: async()=>{
|
||||||
automodded = true;
|
automodded = true;
|
||||||
message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason));
|
message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason));
|
||||||
|
Loading…
Reference in New Issue
Block a user