From 612e7eb6019047a004075a40f93d58d13b7f494d Mon Sep 17 00:00:00 2001 From: kdh8219 <65698239+kdh8219@users.noreply.github.com> Date: Sat, 29 Apr 2023 00:40:31 +0900 Subject: [PATCH] fix add_nick, add_nick_super welcome message --- src/command/commands/add_nick.ts | 2 +- src/command/commands/add_nick_super.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/commands/add_nick.ts b/src/command/commands/add_nick.ts index 5bea1f1..982a0b0 100755 --- a/src/command/commands/add_nick.ts +++ b/src/command/commands/add_nick.ts @@ -49,7 +49,7 @@ export default { return; } - if (!(await members.where("discord_id", "==", discord_id).get()).empty) { + if ((await members.where("discord_id", "==", discord_id).get()).empty) { await interaction.editReply({ content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`, }); diff --git a/src/command/commands/add_nick_super.ts b/src/command/commands/add_nick_super.ts index c5ad187..38ae61b 100755 --- a/src/command/commands/add_nick_super.ts +++ b/src/command/commands/add_nick_super.ts @@ -61,7 +61,7 @@ export default { return; } - if (!(await members.where("discord_id", "==", discord_id).get()).empty) { + if ((await members.where("discord_id", "==", discord_id).get()).empty) { await interaction.editReply({ content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`, });