Added nicer output to verify
This commit is contained in:
@@ -42,14 +42,24 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!ign) {
|
if (!ign) {
|
||||||
interaction.editReply("Please provide a player's IGN.");
|
interaction.editReply({
|
||||||
|
embeds: [{
|
||||||
|
description: "<a:cross_a:1087808606897983539> Please provide your in-game name.",
|
||||||
|
color: embedColor
|
||||||
|
}]
|
||||||
|
})
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await fetch(mojang + ign);
|
await fetch(mojang + ign);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
interaction.editReply("That player doesn't exist. [Mojang]");
|
interaction.editReply({
|
||||||
|
embeds: [{
|
||||||
|
description: "<a:questionmark_pink:1130206038008803488> That player does not exist.",
|
||||||
|
color: embedColor
|
||||||
|
}]
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,7 +72,7 @@ module.exports = {
|
|||||||
if (!stats.data.player) {
|
if (!stats.data.player) {
|
||||||
interaction.editReply({
|
interaction.editReply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
description: "That player hasn't played Hypixel before.",
|
description: "<a:questionmark_pink:1130206038008803488> That player hasn't played Hypixel before.",
|
||||||
color: embedColor
|
color: embedColor
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user