diff --git a/bot/bot.js b/bot/bot.js index bcdbfd3..d6a62a3 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -163,8 +163,9 @@ 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") - msg.channel.send('yes?'); //using a mention here can lead to looping + if (!msg.content.includes("@here") || !msg.content.includes("@everyone") { + msg.channel.send('yes?'); //using a mention here can lead to looping + } } else { } }