Forcing force verify and verify to use uuids

This commit is contained in:
2023-04-26 20:56:15 +02:00
parent 9c14a448f8
commit ec16f0d77b
2 changed files with 9 additions and 9 deletions

View File

@@ -67,16 +67,16 @@ module.exports = {
return
}
try {
await fetch(slothPixel + ign);
const userCheck = await fetch(mojang + ign);
const userUUID = userCheck.data.id;
try {
await fetch(slothPixel + userUUID);
} catch (err) {
interaction.editReply('That player doesn\'t exist. [Hypixel]')
return
}
const userCheck = await fetch(mojang + ign);
const userUUID = userCheck.data.id;
const hypixelCheck = await fetch(slothPixel + userUUID);
const head = minotar + ign;