Merge branch 'dev' into 'main'

Dev

See merge request illegitimate/illegitimate-bot!211
This commit is contained in:
2024-01-30 21:21:52 +00:00

View File

@@ -27,9 +27,6 @@ export = {
const ign = interaction.options.getString("ign")! const ign = interaction.options.getString("ign")!
const uuid = (await getUUID(ign)) as string 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) { if (!uuid) {
interaction.editReply({ interaction.editReply({
@@ -41,6 +38,10 @@ export = {
return return
} }
const formattedUuid = formatUuid(uuid)
const newIgn = await getIGN(uuid) as string
const head = await getHeadURL(ign)
await interaction.editReply({ await interaction.editReply({
embeds: [{ embeds: [{
title: newIgn, title: newIgn,