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

Add GuildMember#pending #5121

Merged
merged 5 commits into from
Jan 2, 2021
Merged

Conversation

wasdennnoch
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:

discord/discord-api-docs#2299
Previously (when it was still undocumented) that field was nullable, the new merged docs now say it's always present; however someone already noted that this field is not actually always present. Will update once that has been clarified.

Status

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@wasdennnoch
Copy link
Contributor Author

Docs have been clarified that pending isn't nullable anymore (discord/discord-api-docs@2fe4e62) and may not always be present, in which case the member isn't supposed to be pending anyways. Updated the PR accordingly.

Copy link
Member

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment before, use ??

@iCrawl iCrawl merged commit c4c8171 into discordjs:master Jan 2, 2021
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants