From a1edacd4db923c432b717fb8e4bf58641a7b6626 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Fri, 6 May 2022 13:58:29 -0700 Subject: [PATCH] remove debug --- commands/checkStatus.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/commands/checkStatus.js b/commands/checkStatus.js index 596cac2..d9d3cdf 100644 --- a/commands/checkStatus.js +++ b/commands/checkStatus.js @@ -30,7 +30,6 @@ module.exports = { let targetUser = await client.dbo.collection("users").findOne({"user.discord.id":targetUserID}).then(user => user); // This lame line of code to get username without ping on discord const User = client.users.cache.get(targetUserID); - console.log(targetUserID, targetUser); if (!targetUser) return message.channel.send(`Cannot find **${args[0].value}** ${message.author}`); if (targetUser.user.activeCommunity!=user.user.activeCommunity) { return message.channel.send(`You are not in the same community as \`${User.tag}\` ${message.author}`); @@ -73,7 +72,6 @@ module.exports = { let targetUser = await client.dbo.collection("users").findOne({"user.discord.id":targetUserID}).then(user => user); // This lame line of code to get username without ping on discord const User = client.users.cache.get(targetUserID); - console.debug(targetUserID, targetUser, User); if (!targetUser) return interaction.send(`Cannot find **${args[0].value}** <@${interaction.member.user.id}>`); if (targetUser.user.activeCommunity!=user.user.activeCommunity) { return interaction.send(`You are not in the same community as \`${User.tag}\` <@${interaction.member.user.id}>`);