Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<user>.tag returns username#0 if the user has the new username system #9644

Closed
iced-queen opened this issue Jun 12, 2023 · 5 comments
Closed

Comments

@iced-queen
Copy link

Which package is this bug report for?

discord.js

Issue description

Basically just have a user object as use the tag.
E.g. if your username is "bob" and you are migrated into the new username system, then if you try to use <user>.tag where <user> is your user object, it will return "bob#0".

I am not really sure whether or not this is a discord.js issue or Discord issue. If this isn't a discord.js issue, then please let me know so I can create a different bug report for Discord itself instead. :)

Code sample

<user>.tag

Versions

discord.js 14.11.0
node.js 16.15.1

Issue priority

Low (slightly annoying)

Which partials do you have configured?

No Partials

Which gateway intents are you subscribing to?

Guilds, GuildMembers, GuildVoiceStates, GuildMessages

I have tested this issue on a development release

No response

@Jiralite
Copy link
Member

Already resolved. Just needs a release.

@Jiralite Jiralite closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@cobaltt7
Copy link
Contributor

(#9512)

@NullDev
Copy link

NullDev commented Jun 13, 2023

Is there an ETA for the release? Currently handling displayName and globalName (if discriminator === "0") over ugly helper functions

@Syjalo
Copy link
Contributor

Syjalo commented Jun 13, 2023

discord.js never gave an eta

@totallytavi
Copy link

Adding onto here, @chocobearxo, this is intentional behaviour from the Discord API. See https://support-dev.discord.com/hc/en-us/articles/13667755828631#h_01H26BDRT8ASH1YVKG6HMGZ1J2

image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants