formatting

This commit is contained in:
Paul Black 2022-08-24 05:09:48 +00:00
parent cb751fb3f4
commit 13ad77832a

View file

@ -35,6 +35,9 @@ bot.on('messageCreate', (message) => {
bot.channels.cache.get(modchat).send(sender); bot.channels.cache.get(modchat).send(sender);
bot.channels.cache.get(modchat).send(message); bot.channels.cache.get(modchat).send(message);
} }
else if(message.content.toLowerCase().includes('bot say sorry')){
message.channel.send('I am sorry for whatever I did. It will not happen again.');
}
else if(message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('cock')){ else if(message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('cock')){
if (message.content.toLowerCase().includes('title')){ //These are not bad words and will be bypassed if (message.content.toLowerCase().includes('title')){ //These are not bad words and will be bypassed
return; return;
@ -46,9 +49,6 @@ bot.on('messageCreate', (message) => {
bot.channels.cache.get(modchat).send(sender); bot.channels.cache.get(modchat).send(sender);
bot.channels.cache.get(modchat).send(message); bot.channels.cache.get(modchat).send(message);
} }
else if(message.content.toLowerCase().includes('bot say sorry')){
message.channel.send('I am sorry for whatever I did. It will not happen again.');
}
}); });
//make sure this line is the last line //make sure this line is the last line