From 252f1d1c034b2a2cf2ce4437f3d4e5b2407c7baa Mon Sep 17 00:00:00 2001 From: Taken Date: Wed, 8 Nov 2023 23:00:17 +0100 Subject: [PATCH] Small tweak Signed-off-by: Taken --- commands/check.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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