Add info on when presence updates
All checks were successful
CI / CI (push) Successful in 1m23s

This commit is contained in:
SileNce5k 2025-06-01 13:08:46 +02:00
parent 15749b1a9f
commit e5f4295281
Signed by: SileNce
GPG key ID: B0A142BB4291B204
2 changed files with 7 additions and 1 deletions

View file

@ -4,8 +4,12 @@ const updatePresence = require('../util/updatePresence');
module.exports = function(client, enableLoginMessage, loginChannel, loginMessage) {
updatePresence(client)
client.lastPresenceUpdate = Date.now()
setInterval(() => {
updatePresence(client)
client.lastPresenceUpdate = Date.now()
}, 60 * 1000);
console.log('Ready!');