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에 오신것을 환영합니다!`, });