From a86449a787728963d544d4e76e986ed54f62f229 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 9 Jun 2021 19:40:46 -0600 Subject: [PATCH] fix stats --- commands/leveling/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/leveling/stats.js b/commands/leveling/stats.js index af9bc1b..6e88018 100644 --- a/commands/leveling/stats.js +++ b/commands/leveling/stats.js @@ -31,7 +31,7 @@ module.exports = { .setTitle(`${u.displayName}${u.displayName.toLowerCase().endsWith('s') ? "'" : "'s"} Stats`) .setDescription("Local leveling stats") .addField("Level", xp.level, true) - .addField("XP", `**${xp.xp}** of **${Math.ceil(100 + (((x / 2.85) ** 2.2) * 2.5))}** needed to level up`, true) + .addField("XP", `**${xp.xp}** of **${Math.ceil(100 + (((xp.level / 2.85) ** 2.2) * 2.5))}** needed to level up`, true) .setThumbnail(client.users.cache.get(u.id).avatarURL({size: 2048})) .setColor("328ba8") .setFooter("Luno")