From d16cdde103db5ccd859d58c93447d8b802d01a69 Mon Sep 17 00:00:00 2001 From: Ralph Date: Mon, 3 Jan 2022 10:48:56 -0500 Subject: [PATCH] Update bot.js --- bot/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.js b/bot/bot.js index d6a62a3..14069e5 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -163,7 +163,7 @@ function checkMessageForCommand(msg, isEdit) { return; } if (msg.author !== bot.user && msg.mentions.has(bot.user.id)) { - if (!msg.content.includes("@here") || !msg.content.includes("@everyone") { + if (!msg.content.includes("@here") || !msg.content.includes("@everyone")) { msg.channel.send('yes?'); //using a mention here can lead to looping } } else {