From 57f79ebd75ddbb1fd9f70eed852f94d5d62678a8 Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 30 Jan 2024 22:21:03 +0100 Subject: [PATCH] Updated uuid command --- src/commands/uuid.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/commands/uuid.ts b/src/commands/uuid.ts index 2109422..c9c9349 100644 --- a/src/commands/uuid.ts +++ b/src/commands/uuid.ts @@ -27,9 +27,6 @@ export = { const ign = interaction.options.getString("ign")! const uuid = (await getUUID(ign)) as string - const formattedUuid = formatUuid(uuid) - const newIgn = (await getIGN(uuid)) as string - const head = await getHeadURL(ign) if (!uuid) { interaction.editReply({ @@ -41,6 +38,10 @@ export = { return } + const formattedUuid = formatUuid(uuid) + const newIgn = await getIGN(uuid) as string + const head = await getHeadURL(ign) + await interaction.editReply({ embeds: [{ title: newIgn,