From a5d34e6411bb93fb139e368b0dcd82963bcb9959 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Mon, 23 Jan 2023 17:52:37 +0700 Subject: [PATCH] ops --- commands/serverinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/serverinfo.js b/commands/serverinfo.js index 31d094c..f7b9f31 100644 --- a/commands/serverinfo.js +++ b/commands/serverinfo.js @@ -57,7 +57,7 @@ module.exports = { OS architecture: \`${os.arch()}\` OS platform: \`${os.platform()}\` OS name: \`${os.version()}\` - CPU cores: \`${os.cpus().length()}\` + CPU cores: \`${os.cpus().length}\` CPU model: \`${await getCpuModelName()}\` Total memory usage: \`${Math.floor(os.totalmem() / 1024 / 1024)} MB\` Available memory usage: \`${Math.floor(os.freemem() / 1024 / 1024)} MB\``)