Skip to content

Commit 9e04964

Browse files
committed
fix
1 parent d793a8e commit 9e04964

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

bun.lockb

-24 Bytes
Binary file not shown.

src/locale/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const infoCommand = {
2828
const totalMemoryGB =
2929
Math.round((totalmem() / 1024 / 1024 / 1024) * 100) / 100;
3030
const usedMemoryGB =
31-
Math.round((freemem() / 1024 / 1024 / 1024) * 100) / 100;
31+
Math.round(((totalmem()-freemem()) / 1024 / 1024 / 1024) * 100) / 100;
3232

3333
const m = (await r(i, "etc:bot_info_output", {
3434
warning: isFork() ? await r(i, "etc:bot_info.fork_warning") : "",

0 commit comments

Comments
 (0)