mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Floored memory usage in stats
This commit is contained in:
parent
7130632844
commit
00d63d01b0
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Stats extends BaseCommand {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: client.customEmojis.ram + " " + interaction.translate("general/stats:RAM_TITLE"),
|
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,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue