small badges on profile cards

This commit is contained in:
bignutty 2025-04-13 12:15:10 +02:00
parent 5ec618d2de
commit 106169fb27
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ module.exports = {
// Badge Container
let b = renderBadges(u)
if(b.length >= 1) cardContent += `\n${b.join('')}\n`
if(b.length >= 1) cardContent += `\n-# ${b.join('')}\n`
cardContent += `\n${smallIconPill("id", "User ID")} ${smallPill(u.id)}`;
if(u.globalName !== null) cardContent += `\n${smallIconPill("user_card", "Display Name")} ${smallPill(u.globalName)}`

View file

@ -38,7 +38,7 @@ module.exports = {
// Badge Container
let b = renderBadges(u)
if(b.length >= 1) cardContent += `\n${b.join('')}\n`
if(b.length >= 1) cardContent += `\n-# ${b.join('')}\n`
cardContent += `\n${smallIconPill("id", "User ID")} ${smallPill(u.id)}`;
if(u.globalName !== null) cardContent += `\n${smallIconPill("user_card", "Display Name")} ${smallPill(u.globalName)}`