From bdc2f7c1448524ed89edfb79c3f7a9c4a997d7de Mon Sep 17 00:00:00 2001 From: Supositware Date: Sat, 13 Apr 2019 00:57:14 +0200 Subject: [PATCH] dosent return when missing star/shameboard --- event/listeners/messageReactionAdd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event/listeners/messageReactionAdd.js b/event/listeners/messageReactionAdd.js index 3f34515..e8dbd0b 100644 --- a/event/listeners/messageReactionAdd.js +++ b/event/listeners/messageReactionAdd.js @@ -25,7 +25,7 @@ class MessageReactionAddListener extends Listener { staremote = starboardChannel['emote']; starcount = starboardChannel['count']; } catch (err) { - return; + console.log(`No shameboard for ${reaction.message.guild.name}, not an error`); } try { @@ -34,7 +34,7 @@ class MessageReactionAddListener extends Listener { shameemote = shameboardChannel['emote']; shamecount = shameboardChannel['count']; } catch (err) { - return; + console.log(`No shameboard for ${reaction.message.guild.name}, not an error`); } // Starboard