mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
deal with some todos
This commit is contained in:
parent
e89c0e9aad
commit
07c6b43ca4
2 changed files with 1 additions and 4 deletions
|
@ -39,8 +39,6 @@ module.exports = {
|
|||
|
||||
if(g.owner) guildCard.description += `\n\n<:lc_guild_owner:674652779406426122> **Server Owner: **<@${g.owner.id}>`
|
||||
|
||||
// TODO: make a proper utility function to pad these codeblocks properly
|
||||
|
||||
// Channel Container
|
||||
guildCard.fields.push({
|
||||
name: `${icon("channel")} Channels`,
|
||||
|
|
|
@ -52,10 +52,9 @@ module.exports = {
|
|||
userCard.fields[0].value = userCard.fields[0].value + `\n**Joined Guild: **${timestamp(m.joinedAt, "f")}`
|
||||
let guildFields = []
|
||||
|
||||
// TODO: make this an icon()
|
||||
if(m.isOwner) guildFields.push(`**Server Owner** <:lc_guild_owner:674652779406426122>`)
|
||||
if(m.roles.length >= 1) guildFields.push(`**Roles: ** ${m.roles.length}/${context.guild.roles.length}`)
|
||||
if(m.premiumSince) guildFields.push(`**Boosting since: ** ${m.premiumSince.toLocaleString('en-US')}`) // TODO: make this a timestamp
|
||||
if(m.premiumSince) guildFields.push(`**Boosting since: ** ${timestamp(m.premiumSince, 'f')}`)
|
||||
userCard.fields.push({
|
||||
name: `${icon("house")} Server`,
|
||||
value: guildFields.join('\n'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue