get "Global display name"

Hello! Since the discord update, discriminator disappear, and we have now the option to set a "global display name". For example, mine is "Mara", and my pomelo is "mara__li". I want to know how I can get the global display name with the discordJS api. I tried: - user.username - member.nickname - member.displayName I'm in DJS v14.11.0
3 Replies
d.js toolkit
d.js toolkitā€¢16mo ago
ā€¢ What's your exact discord.js npm list discord.js and node node -v version? ā€¢ Post the full error stack trace, not just the top part! ā€¢ Show your code! ā€¢ Explain what exactly your issue is. ā€¢ Not a discord.js issue? Check out #useful-servers.
Mara
Maraā€¢16mo ago
Oh, thanks, sorry.
Want results from more Discord servers?
Add your server