New Username Update
How discord.js will handle this new upcoming change ?
22 Replies
• 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yea of course I just opened the post for discussions
We'll eventually remove the
discriminator
field I guess?
And it seems we may need to add User#displayName
The username itself was always a separate property
User#tag
I guess would be dropped along with the discriminator
yep
All very small changes though, this isn't some complex rewrite to handle
lmaoWhy would discriminatòr and tag be removed? I may be under a rock so what are the new user updates?
Evolving Usernames on Discord
Discord usernames are changing to remove four-digit discriminators. Display Names are being added so how you appear to other users stays the same. Read on for more info.
Thnx
yea
Yea
I hope "username" stay as well
well duh
Unless they make that private from bots for some reason
Wouldn’t it be like globalName or anything?
It will be whatever Discord calls the API property
yeah I think that's globalName
and displayName
<:pr_draft:852715368888008714> #9512 in discordjs/discord.js by Syjalo created <t:1683232367:R> (review required)
feat: support new username system
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
.globalName is the new @ username right ?
<User>.globalName
is the new non-unique display name. If the user uses the new username system their discriminator will be '0'
. <User>.tag
will return @syjalo
, or Syjalo#6046
if the user still uses the legacy name system.ok thanks
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I don't see anything disruptive. If you used the tag to identify the user, then this is disruptive. The username and discriminator are easy to change.