From 13ad77832aadd78693118c6cb4fae69d38f58d9e Mon Sep 17 00:00:00 2001 From: Techwizz Date: Wed, 24 Aug 2022 05:09:48 +0000 Subject: [PATCH] formatting --- index.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.js b/index.js index ecb784e..df0677c 100644 --- a/index.js +++ b/index.js @@ -35,20 +35,20 @@ bot.on('messageCreate', (message) => { bot.channels.cache.get(modchat).send(sender); bot.channels.cache.get(modchat).send(message); } - 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 - return; - } - else{ - const techwizz = `<@331669618387058688> `; - const sender = techwizz + `${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); - } 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')){ + if (message.content.toLowerCase().includes('title')){ //These are not bad words and will be bypassed + return; + } + else{ + const techwizz = `<@331669618387058688> `; + const sender = techwizz + `${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