From e3539a6e4a41b0f383f3cd44ea73e3cd90938f7d Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 5 Jan 2022 12:36:28 +0500 Subject: [PATCH] fix --- commands/General/stats.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/General/stats.js b/commands/General/stats.js index 44275bab..9215a6d3 100644 --- a/commands/General/stats.js +++ b/commands/General/stats.js @@ -18,9 +18,9 @@ class Stats extends Command { } async run(message, args, data) { - const hidenGuild = await this.client.guilds.fetch("568120814776614924").memberCount, - users = this.client.users.cache.size - hidenGuild, - servers = this.client.guilds.cache.size - 1; + const hiddenGuild = await this.client.guilds.fetch("568120814776614924"); + const users = this.client.users.cache.size - hiddenGuild.memberCount; + const servers = this.client.guilds.cache.size - 1; const statsEmbed = new Discord.MessageEmbed()