diff --git a/commands/check.js b/commands/check.js index 301f6aa..d51e7a4 100644 --- a/commands/check.js +++ b/commands/check.js @@ -36,7 +36,7 @@ module.exports = { } try { - await fetch(mojang + ign); + var userCheck = await fetch(mojang + ign); } catch (error) { interaction.editReply({ embeds: [ @@ -46,7 +46,6 @@ module.exports = { return; } - const userCheck = await fetch(mojang + ign); const uuid = userCheck.data.id; const player = hypixel + "?key=" + hypixelApiKey + "&uuid=" + uuid