add provisional account label to user cards

This commit is contained in:
bignutty 2024-12-05 20:23:43 +01:00
parent be2bf58b51
commit 9b1dd5e50f
4 changed files with 11 additions and 4 deletions

View file

@ -55,6 +55,8 @@ module.exports = {
if(m && m.nick !== null) usernameDisplay += `\n${smallIconPill("user_card", "Nickname")} ${smallPill(m.nick)}`
if (u.clan && u.clan.tag !== null) usernameDisplay += `\n${smallIconPill("shield", "Clan")} ${smallPill(u.clan.tag)}`
if(u.hasFlag(1<<23)) usernameDisplay += `\n-# Provisional Account`
let userCard = createEmbed("default", context, {
description: `${icon("user")} ${usernameDisplay}`,
thumbnail: {