We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d793a8e commit 9e04964Copy full SHA for 9e04964
2 files changed
bun.lockb
-24 Bytes
src/locale/commands.ts
@@ -28,7 +28,7 @@ export const infoCommand = {
28
const totalMemoryGB =
29
Math.round((totalmem() / 1024 / 1024 / 1024) * 100) / 100;
30
const usedMemoryGB =
31
- Math.round((freemem() / 1024 / 1024 / 1024) * 100) / 100;
+ Math.round(((totalmem()-freemem()) / 1024 / 1024 / 1024) * 100) / 100;
32
33
const m = (await r(i, "etc:bot_info_output", {
34
warning: isFork() ? await r(i, "etc:bot_info.fork_warning") : "",
0 commit comments