mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +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} ${
|
let embedDescription = `**${embedIcons.bot} ${
|
||||||
client.guilds.cache.size < 50
|
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}`;
|
} by member count (${client.guilds.cache.size} total)**\n${guildsList}`;
|
||||||
|
|
||||||
if (embedDescription.length >= 4000) {
|
if (embedDescription.length >= 4000) {
|
||||||
|
|||||||
Reference in new issue
Block a user