mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
fix: Fixed showing top x guild count on /guilds system command
This commit is contained in:
1 parent
296fe1943f
commit
c11fd9c542
1 file changed
+2
-2
@@ -41,8 +41,8 @@ module.exports = {
|
||||
|
||||
let embedDescription = `**${embedIcons.bot} ${
|
||||
client.guilds.cache.size < 50
|
||||
? 'Guilds'
|
||||
: `Top ${client.guilds.cache.size} guilds`
|
||||
? `Top ${client.guilds.cache.size} guilds`
|
||||
: 'Top 50 guilds'
|
||||
} by member count (${client.guilds.cache.size} total)**\n${guildsList}`;
|
||||
|
||||
if (embedDescription.length >= 4000) {
|
||||
|
||||
Reference in new issue
Block a user