1
0
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:
toast-ts 2024-04-14 20:57:08 +10:00 committed by GitHub
parent f2d61c5fa9
commit 1af0c2f8aa

View File

@ -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));