1
0
Fork 0

dosent return when missing star/shameboard

akairo
Supositware 5 years ago
parent 89db7b797b
commit bdc2f7c144

@ -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

Loading…
Cancel
Save