mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
further adjust display
This commit is contained in:
parent
5a650bbb3c
commit
f910be7ab7
1 changed files with 6 additions and 6 deletions
|
@ -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 = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue