fix add_nick, add_nick_super welcome message

This commit is contained in:
kdh8219 2023-04-29 00:40:31 +09:00
parent b74e20ec22
commit 612e7eb601
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export default {
return; return;
} }
if (!(await members.where("discord_id", "==", discord_id).get()).empty) { if ((await members.where("discord_id", "==", discord_id).get()).empty) {
await interaction.editReply({ await interaction.editReply({
content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`, content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`,
}); });

View file

@ -61,7 +61,7 @@ export default {
return; return;
} }
if (!(await members.where("discord_id", "==", discord_id).get()).empty) { if ((await members.where("discord_id", "==", discord_id).get()).empty) {
await interaction.editReply({ await interaction.editReply({
content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`, content: `${mcid}(${mcuuid})님 2k2r에 오신것을 환영합니다!`,
}); });