From c18555418627b896ba87ca4a38bd923bd7d8c93c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 24 May 2017 02:25:04 +0000 Subject: [PATCH] console.log some things --- XiaoBot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/XiaoBot.js b/XiaoBot.js index 67592fd6..ba852e3d 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -81,6 +81,7 @@ client.on('message', async (msg) => { client.on('messageReactionAdd', (reaction, user) => { if (reaction.emoji.name !== '⭐') return; if (reaction.count > 1) return; + console.log(reaction.count, reaction); const msg = reaction.message; const channel = msg.guild.channels.get(msg.guild.settings.get('starboard')); if (!channel) return;