fix check status
This commit is contained in:
1 parent
b07139bda9
commit
8ace046edf
1 file changed
+1
-1
@@ -74,7 +74,7 @@ module.exports = {
|
|||||||
// This lame line of code to get username without ping on discord
|
// This lame line of code to get username without ping on discord
|
||||||
const User = client.users.cache.get(targetUserID);
|
const User = client.users.cache.get(targetUserID);
|
||||||
console.debug(targetUserID, targetUser, User);
|
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) {
|
if (targetUser.user.activeCommunity!=user.user.activeCommunity) {
|
||||||
return interaction.send(`You are not in the same community as \`${User.tag}\` <@${interaction.member.user.id}>`);
|
return interaction.send(`You are not in the same community as \`${User.tag}\` <@${interaction.member.user.id}>`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user