Merge branch 'dev' into 'main'

Small tweak

See merge request illegitimate/illegitimate-bot!43
This commit is contained in:
2023-11-08 22:02:33 +00:00

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