From ea915a37112cfba31b0107628fe4123ef19ddcb3 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 4 Apr 2021 15:52:12 -0500 Subject: [PATCH] =?UTF-8?q?Make=20sure=20to=20only=20post=20on=20k=C3=BClb?= =?UTF-8?q?oard=20for=20messages=20with=20=F0=9F=98=8E=20reactions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 3df4c65..7b921db 100644 --- a/bot.js +++ b/bot.js @@ -804,7 +804,7 @@ client.on('messageReactionAdd', (messageReaction, user) => { if (result.kulboard_id) { kulboardChannel = result.kulboard_id; - if (message.guild.channels.cache.get(kulboardChannel)) { + if (message.guild.channels.cache.get(kulboardChannel) && emoji === '😎' && numEmoji === 3) { message.guild.channels.cache.get(kulboardChannel).send(kulboardEmbed).catch(console.error); } }