mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
add more metadata to servers
This commit is contained in:
parent
938dbe13aa
commit
9ed3d15a44
1 changed files with 5 additions and 1 deletions
|
@ -35,10 +35,14 @@ module.exports = {
|
|||
const g = context.guild
|
||||
// Guild Card
|
||||
let guildCard = createEmbed("default", context, {
|
||||
description: `${icon("home")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt, "f")}\n${icon("user_shield")} **Roles: **${g.roles.length}`,
|
||||
description: `${icon("home")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt, "f")}\n${icon("user_shield")} **Roles: **${g.roles.length}\n${icon("user_multiple")} **Member Count: **${context.guild.memberCount}`,
|
||||
fields: []
|
||||
})
|
||||
|
||||
if(context.guild.premiumSubscriptionCount >= 1) {
|
||||
description += `\n${icon("boost")} **Server Boosts: **${context.guild.premiumSubscriptionCount} (Level ${context.message.guild.premiumTier})`
|
||||
}
|
||||
|
||||
if(g.iconUrl){
|
||||
guildCard.thumbnail = {
|
||||
url: g.iconUrl + `?size=4096`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue