Added warnings on some words to mods

This commit is contained in:
Techwizz-somboo 2022-02-20 15:30:46 -07:00 committed by GitHub
parent 31ad978257
commit 4ddcef3b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,14 +26,20 @@ bot.on('messageCreate', (message) => {
if (message.author.bot) {
return;
}
else if(message.content.toLowerCase().includes('fuck') || message.content.toLowerCase().includes('shit') || message.content.toLowerCase().includes('dumbass') || message.content.toLowerCase().includes('bitch') || message.content.toLowerCase().includes('nigg') || message.content.toLowerCase().includes('penis') || message.content.toLowerCase().includes('cum') || message.content.toLowerCase().includes('pussy') || message.content.toLowerCase().includes('damn') || message.content.toLowerCase().includes('puto') || message.content.toLowerCase().includes('cunt') || message.content.toLowerCase().includes('dyke') || message.content.toLowerCase().includes('fag') || message.content.toLowerCase().includes('beaner') || message.content.toLowerCase().includes('fvck') || message.content.toLowerCase().includes('milf') || message.content.toLowerCase().includes('dilf') || message.content.toLowerCase().includes('dick') || message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('jap') || message.content.toLowerCase().includes('beaney') || message.content.toLowerCase().includes('gypsy') || message.content.toLowerCase().includes('bong') || message.content.toLowerCase().includes('chink') || message.content.toLowerCase().includes('cholo') || message.content.toLowerCase().includes('coon') || message.content.toLowerCase().includes('gyp') || message.content.toLowerCase().includes('injun') || message.content.toLowerCase().includes('jigaboo') || message.content.toLowerCase().includes('jigger') || message.content.toLowerCase().includes('negro') || message.content.toLowerCase().includes('whore') || message.content.toLowerCase().includes('slut') || message.content.toLowerCase().includes('redskin') || message.content.toLowerCase().includes('cooter') || message.content.toLowerCase().includes('vagina') || message.content.toLowerCase().includes('cock') || message.content.toLowerCase().includes('squaw') || message.content.toLowerCase().includes('twink') || message.content.toLowerCase().includes('tranny') || message.content.toLowerCase().includes('shemale') || message.content.toLowerCase().includes('tard') || message.content.toLowerCase().includes('cripple') || message.content.toLowerCase().includes('gimp') || message.content.toLowerCase().includes('midget') || message.content.toLowerCase().includes('kike')){
else if(message.content.toLowerCase().includes('fuck') || message.content.toLowerCase().includes('shit') || message.content.toLowerCase().includes('dumbass') || message.content.toLowerCase().includes('bitch') || message.content.toLowerCase().includes('nigg') || message.content.toLowerCase().includes('penis') || message.content.toLowerCase().includes('cum') || message.content.toLowerCase().includes('pussy') || message.content.toLowerCase().includes('damn') || message.content.toLowerCase().includes('puto') || message.content.toLowerCase().includes('cunt') || message.content.toLowerCase().includes('dyke') || message.content.toLowerCase().includes('fag') || message.content.toLowerCase().includes('beaner') || message.content.toLowerCase().includes('fvck') || message.content.toLowerCase().includes('milf') || message.content.toLowerCase().includes('dilf') || message.content.toLowerCase().includes('dick') || message.content.toLowerCase().includes('jap') || message.content.toLowerCase().includes('beaney') || message.content.toLowerCase().includes('gypsy') || message.content.toLowerCase().includes('bong') || message.content.toLowerCase().includes('chink') || message.content.toLowerCase().includes('cholo') || message.content.toLowerCase().includes('coon') || message.content.toLowerCase().includes('gyp') || message.content.toLowerCase().includes('injun') || message.content.toLowerCase().includes('jigaboo') || message.content.toLowerCase().includes('jigger') || message.content.toLowerCase().includes('negro') || message.content.toLowerCase().includes('whore') || message.content.toLowerCase().includes('slut') || message.content.toLowerCase().includes('redskin') || message.content.toLowerCase().includes('cooter') || message.content.toLowerCase().includes('vagina') || message.content.toLowerCase().includes('cock') || message.content.toLowerCase().includes('squaw') || message.content.toLowerCase().includes('twink') || message.content.toLowerCase().includes('tranny') || message.content.toLowerCase().includes('shemale') || message.content.toLowerCase().includes('tard') || message.content.toLowerCase().includes('cripple') || message.content.toLowerCase().includes('gimp') || message.content.toLowerCase().includes('midget') || message.content.toLowerCase().includes('kike')){
const sender = `${message.author} sent the following message...`
const modchat = '510189494809526283';
message.channel.send('Hey! Please keep your language school appropriate...');
message.delete();
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')){
const sender = `<@& 509444712734654464 > ${message.author} sent the following message (BUT WAS NOT DELETED)...`
const modchat = '510189494809526283';
bot.channels.cache.get(modchat).send(sender);
bot.channels.cache.get(modchat).send(message);
}
});
//make sure this line is the last line