From 71606819310242338de63f13d43db29c97879028 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 2 Sep 2022 08:35:03 +0200 Subject: [PATCH] Removed useless console.log --- events/client/messageReactionAdd.js | 3 --- events/client/messageReactionRemove.js | 2 -- 2 files changed, 5 deletions(-) diff --git a/events/client/messageReactionAdd.js b/events/client/messageReactionAdd.js index b972b14..cb0b6ba 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 a1b4ff1..9ed92d2 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;