From ea3cc7bd7e926904aa5cedae6c848450ff532516 Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 16 Jul 2023 20:42:40 +0200 Subject: [PATCH] Added nicer output to verify --- commands/verify.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/commands/verify.js b/commands/verify.js index 706fa16..f92c55b 100644 --- a/commands/verify.js +++ b/commands/verify.js @@ -42,14 +42,24 @@ module.exports = { } if (!ign) { - interaction.editReply("Please provide a player's IGN."); + interaction.editReply({ + embeds: [{ + description: " Please provide your in-game name.", + color: embedColor + }] + }) return; } try { await fetch(mojang + ign); } catch (err) { - interaction.editReply("That player doesn't exist. [Mojang]"); + interaction.editReply({ + embeds: [{ + description: " That player does not exist.", + color: embedColor + }] + }); return; } @@ -62,7 +72,7 @@ module.exports = { if (!stats.data.player) { interaction.editReply({ embeds: [{ - description: "That player hasn't played Hypixel before.", + description: " That player hasn't played Hypixel before.", color: embedColor }] });