-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update the description for identity_enabled to be clearer #7701
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
Conversation
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.
reads this properly
Apologies - thought this was just a comma change. Got approval happy.
Unfortunately this doesn't explain anything better, just that's it's rarely false -- which I'm not sure why it's relevant, or makes things clearer. At the very least it's should be a "This rarely returns false because...." or what I think is likely better is deeper explanation of why a user wouldn't be displaying primary guild's server tag. |
I believe a user leaving a guild also returns ``false``, I could it add it but it may be really lengthy then. Also, let me know if what I provided have exceptions or are just entirely wrong.
Sweet - thanks for all the research! This looks good to me, just triple checking it with eng before approving and merging. |
docs/resources/user.mdx
Outdated
| Field | Type | Description | | ||
|-------------------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| identity_guild_id | ?snowflake | the id of the user's primary guild | | ||
| identity_enabled | ?boolean | whether the user is displaying the primary guild's server tag. This can be `null` if the system clears the identity, e.g. the server no longer supports tags. This can be `false`, e.g. the user manually removes their tag. | |
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.
| identity_enabled | ?boolean | whether the user is displaying the primary guild's server tag. This can be `null` if the system clears the identity, e.g. the server no longer supports tags. This can be `false`, e.g. the user manually removes their tag. | | |
| identity_enabled | ?boolean | whether the user is displaying the primary guild's server tag. This can be `null` if the system clears the identity, e.g. the server no longer supports tags. This will be `false` if the user manually removes their tag. | |
Looks better to me
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.
Nice change. I like it. 👍🏻
Make that tweak, and we're good to merge @Sacul0457 .
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.
Nice change. I like it. 👍🏻
Make that tweak, and we're good to merge @Sacul0457 .
Alr, thanks!
Discussion from the ddevs server: https://discord.com/channels/613425648685547541/1130595287078015027/1397115430438440981
Basically, it was noted that identity_enabled mostly returns
null
instead offalse
.This PR basically adds that it rarely returns
false
.