mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 20:30:58 -05:00
Ty for the lookout
This commit is contained in:
parent
aca9709b80
commit
e6cfacdb22
@ -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