From 2310f934b30fe9e458532705021c658e3142d641 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 3 Apr 2021 13:15:59 -0500 Subject: [PATCH] Use === instead of = --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8aab685..a7b9866 100644 --- a/index.js +++ b/index.js @@ -686,7 +686,7 @@ client.on('messageReactionAdd', (messageReaction, user) => { } if (result.kulboard_id) { kulboardChannel = result.kulboard_id; - if (messageReaction.message.guild.channels.cache.get(kulboardChannel) && messageReaction.emoji.name === "😎" && messageReaction.count = 4) { + if (messageReaction.message.guild.channels.cache.get(kulboardChannel) && messageReaction.emoji.name === "😎" && messageReaction.count === 4) { messageReaction.message.guild.channels.cache.get(kulboardChannel).send(kulboardEmbed).catch(console.error); } }