diff --git a/src/command/commands/search.ts b/src/command/commands/search.ts index 73e203f..90b8e01 100755 --- a/src/command/commands/search.ts +++ b/src/command/commands/search.ts @@ -76,7 +76,7 @@ export default { let text = ""; text += (await interaction.guild.members.fetch(discord_id)).nickname || - (await interaction.client.users.fetch(discord_id)).id; + (await interaction.client.users.fetch(discord_id)).username; text += ": "; for (const user of the_data.docs) { const minecraft_uuid = user.data()["minecraft_uuid"];