From a21ed7a97f909220ba448b0bbb8ec0da9672415a Mon Sep 17 00:00:00 2001 From: Keanu Date: Fri, 29 Jan 2021 14:34:46 +0100 Subject: [PATCH] Fixed info using `heapTotal` for both values. --- src/commands/info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/info.ts b/src/commands/info.ts index 1a6b401..a85a2e5 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -68,7 +68,7 @@ export default new Command({ `\u3000 • Speed: ${core.speed}MHz`, `**❯ Memory:**`, `\u3000 • Total: ${formatBytes(process.memoryUsage().heapTotal)}`, - `\u3000 • Used: ${formatBytes(process.memoryUsage().heapTotal)}` + `\u3000 • Used: ${formatBytes(process.memoryUsage().heapUsed)}` ]) .setTimestamp(); $.channel.send(embed);