-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(guide): update username system references #9652
chore(guide): update username system references #9652
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Should I also make changes to the jsdocs in this PR or should that be separate? |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://discord-js-guide-git-fork-uhkevinmc-guide-upda-8aa6bd-discordjs.vercel.app/guide/home/introduction |
we are not yet even sure if we want to/need to deprecate #tag |
array.find((user) => user.bot === true); | ||
collection.find((user) => user.bot === true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array.find((user) => user.bot === true); | |
collection.find((user) => user.bot === true); | |
array.find((user) => user.bot); | |
collection.find((user) => user.bot); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idk if looking for bots is a good example
user.username.includes("cat") looks cooler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code chunk was originally to filter for users with the discriminator of #1000
, so I think @jaw0r3k's suggestion would be better suited for this use case..
Still waiting to see if this PR will be considered necessary since there is a discussion about .tag
being "un-deprecated" or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disciminators wont be used by regular users
So this example should be changed
But leave tag code as bots still uses it
ef5c0d0
to
99bb3b5
Compare
|
Please describe the changes this PR makes and why it should be merged:
This PR changes references of
.tag
and.discriminator
in the guide to alternatives in anticipation of those properties being deprecated.Status and versioning classification: