fix add_nick, add_nick_super welcome message
This commit is contained in:
parent
b74e20ec22
commit
612e7eb601
|
@ -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에 오신것을 환영합니다!`,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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에 오신것을 환영합니다!`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue