From b26af179082e2475eb6cbfbdc22335781c76014d Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:12:39 +0500 Subject: [PATCH] fix stats --- commands/General/stats.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/General/stats.js b/commands/General/stats.js index f7e8001e..c7f45b54 100644 --- a/commands/General/stats.js +++ b/commands/General/stats.js @@ -27,13 +27,11 @@ class Stats extends BaseCommand { * @param {import("discord.js").ChatInputCommandInteraction} interaction */ async execute(client, interaction) { - const hiddenGuildMembersCount = client.guilds.cache.get("568120814776614924").memberCount; - const servers = client.guilds.cache.size - 1; + const servers = client.guilds.cache.size; let users = 0; client.guilds.cache.forEach(g => { users += g.memberCount; }); - users = users - hiddenGuildMembersCount; const embed = client.embed({ author: interaction.translate("common:STATS"),