fix search discord id error
This commit is contained in:
parent
5503e2d143
commit
d882c886fb
|
@ -76,7 +76,7 @@ export default {
|
||||||
let text = "";
|
let text = "";
|
||||||
text +=
|
text +=
|
||||||
(await interaction.guild.members.fetch(discord_id)).nickname ||
|
(await interaction.guild.members.fetch(discord_id)).nickname ||
|
||||||
interaction.user.username;
|
(await interaction.client.users.fetch(discord_id)).id;
|
||||||
text += ": ";
|
text += ": ";
|
||||||
for (const user of the_data.docs) {
|
for (const user of the_data.docs) {
|
||||||
const minecraft_uuid = user.data()["minecraft_uuid"];
|
const minecraft_uuid = user.data()["minecraft_uuid"];
|
||||||
|
|
Loading…
Reference in a new issue