Add basic cpu info to processInfo global
All checks were successful
CI / CI (push) Successful in 1m23s

This commit is contained in:
SileNce5k 2025-05-12 01:38:36 +02:00
parent aa2ab653b9
commit a54361c571
Signed by: SileNce
GPG key ID: B0A142BB4291B204
3 changed files with 18 additions and 0 deletions

View file

@ -1,6 +1,7 @@
const loadServerPrefixes = require('../util/loadServerPrefixes');
const checkTimer = require('../util/timer/checkTimer');
const updatePresence = require('../util/updatePresence');
const updateCpuPercentage = require('../util/updateCpuPercentage')
module.exports = function(client, enableLoginMessage, loginChannel, loginMessage) {
updatePresence(client)
@ -13,4 +14,5 @@ module.exports = function(client, enableLoginMessage, loginChannel, loginMessage
}
loadServerPrefixes(client)
checkTimer(client);
updateCpuPercentage(client.processInfo);
}