mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Revert "ty for letting me realize the issue, hun"
This reverts commit 832da99aef
.
This commit is contained in:
parent
ceec9862fa
commit
311a6a7fe3
@ -14,7 +14,7 @@ export default {
|
|||||||
// Arrary of channel ids for automod to be disabled in
|
// Arrary of channel ids for automod to be disabled in
|
||||||
]
|
]
|
||||||
|
|
||||||
if (client.bannedWords._content.some((x)=>message.content.toLowerCase().includes(x)) && !message.member.roles.cache.has(client.config.mainServer.roles.dcmod) && message.guildId == client.config.mainServer.id && !Whitelist.includes(message.channelId) && client.config.botSwitches.automod){
|
if (client.bannedWords._content.some((x)=>msgarr.includes(x)) && !message.member.roles.cache.has(client.config.mainServer.roles.dcmod) && message.guildId == client.config.mainServer.id && !Whitelist.includes(message.channelId) && client.config.botSwitches.automod){
|
||||||
automodded = true;
|
automodded = true;
|
||||||
const threshold = 30000;
|
const threshold = 30000;
|
||||||
message.delete().catch(err=>console.log('bannedWords automod; msg got possibly deleted by another bot.'))
|
message.delete().catch(err=>console.log('bannedWords automod; msg got possibly deleted by another bot.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user