Removed unnecessary logs

This commit is contained in:
TheEssem 2020-04-26 17:20:07 -05:00
parent de672a341f
commit 78778e54d7
2 changed files with 0 additions and 2 deletions

View file

@ -8,7 +8,6 @@ exports.run = async (message, args) => {
if (args[0].toLowerCase() === "disable") {
if (args[1] && args[1].match(/^<?[@#]?[&!]?\d+>?$/) && 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 {

View file

@ -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}`);
}