From f910be7ab751040c051af330754edcb3b092a08c Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Wed, 28 Aug 2024 21:01:23 +0200 Subject: [PATCH] further adjust display --- commands/message/info/guild.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index 9cd024f..08ef197 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -2,7 +2,7 @@ const { paginator } = require('#client'); const { createEmbed, page, formatPaginationEmbeds } = require("#utils/embed"); const { guildFeaturesField } = require("#utils/fields"); -const { icon, highlight, timestamp, codeblock, iconPill } = require("#utils/markdown"); +const { icon, highlight, timestamp, codeblock, iconPill, smallIconPill } = require("#utils/markdown"); const { editOrReply } = require("#utils/message"); // TODO: Turn this into a general purpose permissions constant @@ -37,11 +37,11 @@ module.exports = { // Header Pills let pills = [] - pills.push(iconPill("user_multiple", context.guild.memberCount + " Members")) - if(g.premiumSubscriptionCount >= 1) pills.push(iconPill("boost", g.premiumSubscriptionCount + " Boosts")) - if(g.roles.length >= 2) pills.push(iconPill("user_shield", `${g.roles.length} Roles`)) - if(emojis.length >= 1) pills.push(iconPill("emoji", emojis.length + " Emoji")) - if(channels.length >= 1) pills.push(iconPill("channel", g.channels.length + " Channels")) + pills.push(smallIconPill("user_multiple", context.guild.memberCount + " Members")) + if(g.premiumSubscriptionCount >= 1) pills.push(smallIconPill("boost", g.premiumSubscriptionCount + " Boosts")) + if(g.roles.length >= 2) pills.push(smallIconPill("user_shield", `${g.roles.length} Roles`)) + if(emojis.length >= 1) pills.push(smallIconPill("emoji", emojis.length + " Emoji")) + if(channels.length >= 1) pills.push(smallIconPill("channel", g.channels.length + " Channels")) if(g.owner) pills.push(`${icon("user_king")} <@${g.owner.id}>`) let pillDisplay = ""