From 00d63d01b0ae1ca8754f5d14ccd9e94f0474ed89 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Wed, 6 Mar 2024 09:22:00 +0500 Subject: [PATCH] Floored memory usage in stats --- commands/General/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/stats.js b/commands/General/stats.js index c91f8207..f7e8001e 100644 --- a/commands/General/stats.js +++ b/commands/General/stats.js @@ -54,7 +54,7 @@ class Stats extends BaseCommand { }, { name: client.customEmojis.ram + " " + interaction.translate("general/stats:RAM_TITLE"), - value: `\`${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB\``, + value: `\`${Math.floor(process.memoryUsage().heapUsed / 1024 / 1024)}MB\``, inline: true, }, {