diff --git a/events/client/messageReactionAdd.js b/events/client/messageReactionAdd.js index b972b14d..cb0b6ba0 100644 --- a/events/client/messageReactionAdd.js +++ b/events/client/messageReactionAdd.js @@ -26,11 +26,9 @@ export default { reaction.users.cache.forEach(user => { if (reaction.message.author == user) reactionCount--; }); - console.log(fs.existsSync(`./json/board/star${reaction.message.guild.id}.json`)); // Starboard if (fs.existsSync(`./json/board/star${reaction.message.guild.id}.json`)) { - console.log('hi'); starboardChannel = JSON.parse(fs.readFileSync(`./json/board/star${reaction.message.guild.id}.json`)); let staremote = starboardChannel.emote; const starcount = starboardChannel.count; @@ -40,7 +38,6 @@ export default { } if (reaction.emoji == staremote || reaction.emoji.name == staremote) { - console.log('send or edit'); if (global.boards[reaction.message.id] && reactionCount > starcount) { return editEmbed('starboard', staremote, global.boards[reaction.message.id], c); } diff --git a/events/client/messageReactionRemove.js b/events/client/messageReactionRemove.js index a1b4ff14..9ed92d20 100644 --- a/events/client/messageReactionRemove.js +++ b/events/client/messageReactionRemove.js @@ -26,11 +26,9 @@ export default { reaction.users.cache.forEach(user => { if (reaction.message.author == user) reactionCount--; }); - console.log(fs.existsSync(`./json/board/star${reaction.message.guild.id}.json`)); // Starboard if (fs.existsSync(`./json/board/star${reaction.message.guild.id}.json`)) { - console.log('hi'); starboardChannel = JSON.parse(fs.readFileSync(`./json/board/star${reaction.message.guild.id}.json`)); let staremote = starboardChannel.emote; const starcount = starboardChannel.count;