From 9d084b799c2125e70d2051608911d49dc72e52b2 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 3 Apr 2021 13:05:59 -0500 Subject: [PATCH] Finish kulboard with 4 reactions, likely to be customizable in the future --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 986ab78..0bc0670 100644 --- a/index.js +++ b/index.js @@ -684,11 +684,8 @@ client.on('messageReactionAdd', (messageReaction, user) => { console.error; } if (result.kulboard_id) { - console.log("Kulboard found"); - console.log("Emoji name: " + messageReaction.emoji.name); - console.log("Amount: " + messageReaction.count); kulboardChannel = result.kulboard_id; - if (messageReaction.message.guild.channels.cache.get(kulboardChannel) && messageReaction.emoji.name === "😎" && messageReaction.count > 2) { + if (messageReaction.message.guild.channels.cache.get(kulboardChannel) && messageReaction.emoji.name === "😎" && messageReaction.count > 3) { messageReaction.message.guild.channels.cache.get(kulboardChannel).send(kulboardEmbed).catch(console.error); } }