console.log some things

This commit is contained in:
Daniel Odendahl Jr
2017-05-24 02:25:04 +00:00
parent 0c23c67648
commit c185554186
+1
View File
@@ -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;