From 8ace046edfbeb6c4847d998e4626ec5f694d6217 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Fri, 6 May 2022 13:56:31 -0700 Subject: [PATCH] fix check status --- commands/checkStatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/checkStatus.js b/commands/checkStatus.js index d4a81e2..596cac2 100644 --- a/commands/checkStatus.js +++ b/commands/checkStatus.js @@ -74,7 +74,7 @@ module.exports = { // 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 message.channel.send(`Cannot find **${args[0].value}** <@${interaction.member.user.id}>`); + 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}>`); }