Temporary fix to make words like "class" not get flagged all the time

This commit is contained in:
Techwizz-somboo 2022-03-09 19:52:54 -07:00 committed by GitHub
parent 0470ea17ea
commit 420c9a3136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ bot.on('messageCreate', (message) => {
bot.channels.cache.get(modchat).send(sender);
bot.channels.cache.get(modchat).send(message);
}
else if(message.content.toLowerCase().includes('ass') || message.content.toLowerCase().includes('tit')){
else if(message.content.toLowerCase().includes('tit')){
const sender = `<@&${509449386149937158}> ${message.author} sent the following message (BUT WAS NOT DELETED)...`
const modchat = '510189494809526283';
bot.channels.cache.get(modchat).send(sender);