Use setInterval
All checks were successful
CI / CI (push) Successful in 1m24s

This commit is contained in:
SileNce5k 2025-06-25 05:08:43 +02:00
parent a54361c571
commit c100528c2a
Signed by: SileNce
GPG key ID: B0A142BB4291B204
2 changed files with 3 additions and 3 deletions

View file

@ -14,5 +14,7 @@ module.exports = function(client, enableLoginMessage, loginChannel, loginMessage
}
loadServerPrefixes(client)
checkTimer(client);
updateCpuPercentage(client.processInfo);
setInterval(() => {
updateCpuPercentage(client)
}, 60 * 1000);
}