dosent return when missing star/shameboard

This commit is contained in:
Supositware 2019-04-13 00:57:14 +02:00
parent 89db7b797b
commit bdc2f7c144

View file

@ -25,7 +25,7 @@ class MessageReactionAddListener extends Listener {
staremote = starboardChannel['emote']; staremote = starboardChannel['emote'];
starcount = starboardChannel['count']; starcount = starboardChannel['count'];
} catch (err) { } catch (err) {
return; console.log(`No shameboard for ${reaction.message.guild.name}, not an error`);
} }
try { try {
@ -34,7 +34,7 @@ class MessageReactionAddListener extends Listener {
shameemote = shameboardChannel['emote']; shameemote = shameboardChannel['emote'];
shamecount = shameboardChannel['count']; shamecount = shameboardChannel['count'];
} catch (err) { } catch (err) {
return; console.log(`No shameboard for ${reaction.message.guild.name}, not an error`);
} }
// Starboard // Starboard