fix search discord id error

This commit is contained in:
kdh8219 2023-05-05 19:52:25 +09:00
parent 5503e2d143
commit d882c886fb
No known key found for this signature in database
GPG key ID: 2B5B609E12BB4C19

View file

@ -76,7 +76,7 @@ export default {
let text = "";
text +=
(await interaction.guild.members.fetch(discord_id)).nickname ||
interaction.user.username;
(await interaction.client.users.fetch(discord_id)).id;
text += ": ";
for (const user of the_data.docs) {
const minecraft_uuid = user.data()["minecraft_uuid"];