From f844e2be2a659a7bfe812ed138dd9c0015a1ab36 Mon Sep 17 00:00:00 2001 From: Techwizz Date: Wed, 24 Aug 2022 05:15:06 +0000 Subject: [PATCH] Update 'index.js' --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 433f277..3fbf66c 100644 --- a/index.js +++ b/index.js @@ -38,8 +38,8 @@ bot.on('messageCreate', (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 + else if(message.content.toLowerCase().includes('tit') || message.content.toLowerCase().includes('cock') || message.content.toLowerCase().includes('ass')){ + if (message.content.toLowerCase().includes('title') || message.content.toLowerCase().includes('class')){ //These are not bad words and will be bypassed return; } const techwizz = `<@331669618387058688> `;