" The user's username, not unique across the platform" #1617
-
|
discord-api-types/payloads/v10/user.ts Line 17 in 3a296fa Why does it say "The user's username, not unique across the platform"? is it just outdated? because usernames should be unique now |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Bots still use the "old" system, thus its not unique. If you checked that discriminator is "0" maybe though (ie the username + discrim pair). Also the description is from Discord's docs: https://docs.discord.com/developers/resources/user#user-object (+ alot of things dealing with uniqueness should consider using ID instead) |
Beta Was this translation helpful? Give feedback.
Bots still use the "old" system, thus its not unique. If you checked that discriminator is "0" maybe though (ie the username + discrim pair).
Also the description is from Discord's docs: https://docs.discord.com/developers/resources/user#user-object
(+ alot of things dealing with uniqueness should consider using ID instead)