1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update ready.js

This commit is contained in:
MatteZ02 2019-11-03 09:55:54 +02:00
parent 25f76daf88
commit e5dd77d3b9

View File

@ -26,6 +26,10 @@ module.exports = {
} }
client.user.setActivity(status[i], { type: 'LISTENING' }); client.user.setActivity(status[i], { type: 'LISTENING' });
i++; i++;
users = 0;
client.guilds.forEach(guild => {
users += guild.memberCount;
})
}, 30000); }, 30000);
setInterval(async () => { setInterval(async () => {
client.guilds.forEach(guild => { client.guilds.forEach(guild => {