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

@ -49,6 +49,12 @@ client.whitelist = {
user: new Collection()
}
client.processInfo = {
cpuPercentage: 0,
ramUsage: 0,
previousCpuUsage: process.cpuUsage()
}
createAndLoadWhitelistTable(client.whitelist);
client.settings.set("presenceType", presenceType);