dosent return when missing star/shameboard
This commit is contained in:
parent
89db7b797b
commit
bdc2f7c144
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue