New Username Update

How discord.js will handle this new upcoming change ?
22 Replies
d.js toolkit
d.js toolkit2y 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.
Adren
Adren2y ago
ZZAwhy
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
N1C0.exe(OLD)
N1C0.exe(OLD)OP2y ago
yea of course I just opened the post for discussions
monbrey
monbrey2y ago
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 lmao
sexy dark chocolate
Why would discriminatòr and tag be removed? I may be under a rock so what are the new user updates?
Pulse
Pulse2y ago
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.
sexy dark chocolate
Thnx
N1C0.exe(OLD)
N1C0.exe(OLD)OP2y ago
yea
monbrey
monbrey2y ago
Yea
N1C0.exe(OLD)
N1C0.exe(OLD)OP2y ago
I hope "username" stay as well
monbrey
monbrey2y ago
well duh Unless they make that private from bots for some reason
DUCKODAS
DUCKODAS2y ago
Wouldn’t it be like globalName or anything?
monbrey
monbrey2y ago
It will be whatever Discord calls the API property
Mac
Mac2y ago
yeah I think that's globalName and displayName
GitHub
GitHub2y ago
<:pr_draft:852715368888008714> #9512 in discordjs/discord.js by Syjalo created <t:1683232367:R> (review required) feat: support new username system
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
N1C0.exe(OLD)
N1C0.exe(OLD)OP2y ago
.globalName is the new @ username right ?
Syjalo
Syjalo2y ago
<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.
N1C0.exe(OLD)
N1C0.exe(OLD)OP2y ago
ok thanks
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Syjalo
Syjalo2y ago
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.

Did you find this page helpful?