Updated uuid command
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user