mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
propagate user card change to all user commands
This commit is contained in:
parent
20fe904a42
commit
bf4e6a86bd
3 changed files with 35 additions and 45 deletions
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue