Change bot presence to online

This commit is contained in:
Junior 2024-11-22 14:53:17 +00:00
parent 625bbf1e6f
commit 66187601bf

View File

@ -78,7 +78,7 @@ function getOnlineReport(channel = null) {
embed.setTitle("**Players Currently Online:** " + playerCount); embed.setTitle("**Players Currently Online:** " + playerCount);
if ( channel !== null ) channel.send({embeds: [embed]}); if ( channel !== null ) channel.send({embeds: [embed]});
if ( Config.PRESENCE_INTERVAL != 0 ) { if ( Config.PRESENCE_INTERVAL != 0 ) {
client.user.setPresence({ activities: [{ name: "Online: " + playerCount }], status: 'idle' }); client.user.setPresence({ activities: [{ name: "Online: " + playerCount }], status: 'online' });
} }
} }