From 78778e54d7aeba96666e908856257729913b719e Mon Sep 17 00:00:00 2001 From: TheEssem Date: Sun, 26 Apr 2020 17:20:07 -0500 Subject: [PATCH] Removed unnecessary logs --- commands/channel.js | 1 - commands/count.js | 1 - 2 files changed, 2 deletions(-) diff --git a/commands/channel.js b/commands/channel.js index fc1fe90..43167cc 100644 --- a/commands/channel.js +++ b/commands/channel.js @@ -8,7 +8,6 @@ exports.run = async (message, args) => { if (args[0].toLowerCase() === "disable") { if (args[1] && args[1].match(/^?$/) && args[1] >= 21154535154122752) { const id = args[1].replace("@", "").replace("#", "").replace("!", "").replace("&", "").replace("<", "").replace(">", ""); - console.log(id); if (guildDB.disabledChannels.includes(id)) return `${message.author.mention}, I'm already disabled in this channel!`; guildDB.disabledChannels.push(id); } else { diff --git a/commands/count.js b/commands/count.js index 3f5690f..d5279c5 100644 --- a/commands/count.js +++ b/commands/count.js @@ -10,7 +10,6 @@ exports.run = async (message) => { const sortedValues = Object.entries(counts).sort((a, b) => { return b[1] - a[1]; }); - console.log(sortedValues); for (const [key, value] of sortedValues) { countArray.push(`**${key}**: ${value}`); }