From e5dd77d3b9d18fe88ac7ca7d33b64d4b80a73fb6 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 3 Nov 2019 09:55:54 +0200 Subject: [PATCH] Update ready.js --- events/ready.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/events/ready.js b/events/ready.js index e4d2070c..f7b2ef7a 100644 --- a/events/ready.js +++ b/events/ready.js @@ -26,6 +26,10 @@ module.exports = { } client.user.setActivity(status[i], { type: 'LISTENING' }); i++; + users = 0; + client.guilds.forEach(guild => { + users += guild.memberCount; + }) }, 30000); setInterval(async () => { client.guilds.forEach(guild => {