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

Ty for the lookout

This commit is contained in:
Toast 2024-04-14 20:57:08 +10:00 committed by GitHub
parent aca9709b80
commit e6cfacdb22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ export default class MessageCreate {
},
{
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()=>{
automodded = true;
message.delete().catch(()=>Logger.console('log', `${automodLog}MessageSpam`, automodFailReason));