mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
mirror guild card design to user card
This commit is contained in:
parent
ae0304502a
commit
5e667774e9
1 changed files with 5 additions and 4 deletions
|
@ -47,7 +47,7 @@ module.exports = {
|
|||
let usernameDisplay = u.name.replace(/_/g,'\\_');
|
||||
if(u.discriminator && u.discriminator !== "0") usernameDisplay += `#${u.discriminator}`
|
||||
|
||||
usernameDisplay = `**@${usernameDisplay}**${botTag} ${highlight(`(${u.id})`)}`
|
||||
usernameDisplay = ``
|
||||
|
||||
// Badge Container
|
||||
let b = renderBadges(u)
|
||||
|
@ -60,10 +60,11 @@ module.exports = {
|
|||
if(u.hasFlag(1<<23)) usernameDisplay += `\n-# Provisional Account`
|
||||
|
||||
let userCard = createEmbed("default", context, {
|
||||
description: `${icon("user")} ${usernameDisplay}`,
|
||||
thumbnail: {
|
||||
url: getUserAvatar(u)
|
||||
author: {
|
||||
name: `@${u.username}`,
|
||||
iconUrl: getUserAvatar(u)
|
||||
},
|
||||
description: `${icon("user")} ${usernameDisplay}`,
|
||||
fields: [{
|
||||
name: `${icon("calendar")} Dates`,
|
||||
value: `**Account Created: **${timestamp(u.createdAt, "f")}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue