Removed a console.log

This commit is contained in:
loicbersier 2019-12-27 22:00:43 +01:00
parent 450ab79c08
commit 331de1784f

View file

@ -26,7 +26,6 @@ class messageReactionRemoveListener extends Listener {
} }
if (reaction.emoji.name == staremote && reaction.count < starcount) { if (reaction.emoji.name == staremote && reaction.count < starcount) {
console.log('probably removed by now');
let channel = this.client.channels.get(starboardChannel.starboard); let channel = this.client.channels.get(starboardChannel.starboard);
let message = await channel.messages.get(messageID[reaction.message.id]); let message = await channel.messages.get(messageID[reaction.message.id]);
message.delete(); message.delete();
@ -47,7 +46,6 @@ class messageReactionRemoveListener extends Listener {
} }
if (reaction.emoji.name == shameemote && reaction.count < shamecount) { if (reaction.emoji.name == shameemote && reaction.count < shamecount) {
console.log('probably removed by now');
let channel = this.client.channels.get(shameboardChannel.shameboard); let channel = this.client.channels.get(shameboardChannel.shameboard);
let message = await channel.messages.get(messageID[reaction.message.id]); let message = await channel.messages.get(messageID[reaction.message.id]);
message.delete(); message.delete();