propagate user card change to all user commands

This commit is contained in:
bignutty 2025-01-17 21:38:59 +01:00
parent 20fe904a42
commit bf4e6a86bd
3 changed files with 35 additions and 45 deletions

View file

@ -38,13 +38,7 @@ module.exports = {
// User Card
// TODO: create bot tag emoji for this
let botTag = ''
if(u.bot) botTag = ""
if(u.hasFlag(UserFlags.VERIFIED_BOT)) botTag = ""
// We escape underscores to prevent markdown issues
let usernameDisplay = u.name.replace(/_/g,'\\_');
let usernameDisplay = u.name
if(u.discriminator && u.discriminator !== "0") usernameDisplay += `#${u.discriminator}`
let cardContent = "";