From e5ae4d0e47bbcac9907413dd036e8c1d71f74557 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Mon, 24 Jan 2022 01:51:04 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7?= =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20=D1=81=D0=B5=D1=80=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=20=D1=81=D0=BE=20=D1=81=D0=BC=D0=B0=D0=B9=D0=BB=D0=B8?= =?UTF-8?q?=D0=BA=D0=B0=D0=BC=D0=B8=20=D0=B2=20READY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- events/ready.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 139e1d65..f4130e44 100644 --- a/events/ready.js +++ b/events/ready.js @@ -7,10 +7,13 @@ module.exports = class { async run() { const client = this.client; + const hiddenGuild = await client.guilds.fetch("568120814776614924"); + const tUsers = client.users.cache.size - hiddenGuild.memberCount; + const tServers = client.guilds.cache.size - 1; // Logs some informations using logger client.logger.log(`Loading a total of ${client.commands.size} command(s).`, "log"); - client.logger.log(`${client.user.tag}, ready to serve ${client.users.cache.size} users in ${client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size} servers.`, "ready"); + client.logger.log(`${client.user.tag}, ready to serve ${tUsers} users in ${tServers} servers.`, "ready"); client.logger.log(`Invite Link: ${client.generateInvite({ scopes: ["bot"] , permissions: [Permissions.FLAGS.ADMINISTRATOR] })}`, "ready"); // Discord Together