Small tweak

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-11-08 23:00:17 +01:00
parent c2510e5be8
commit 252f1d1c03

View File

@@ -36,7 +36,7 @@ module.exports = {
} }
try { try {
await fetch(mojang + ign); var userCheck = await fetch(mojang + ign);
} catch (error) { } catch (error) {
interaction.editReply({ interaction.editReply({
embeds: [ embeds: [
@@ -46,7 +46,6 @@ module.exports = {
return; return;
} }
const userCheck = await fetch(mojang + ign);
const uuid = userCheck.data.id; const uuid = userCheck.data.id;
const player = hypixel + "?key=" + hypixelApiKey + "&uuid=" + uuid const player = hypixel + "?key=" + hypixelApiKey + "&uuid=" + uuid