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

Change PrivateChannel#getUser to handle API nullability #2012

Merged

Conversation

oliver276
Copy link
Contributor

@oliver276 oliver276 commented Feb 4, 2022

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Project Card: https://github.com/DV8FromTheWorld/JDA/projects/5#card-68160406

Description

Changes:

  • PrivateChannels may not always have a User
  • PrivateChannels contain a convenience retrieveUser method
  • JDA#retrieveChannelById
  • Reaction events no longer wait for the channel to be cached
  • The GET_CHANNEL route, for retrieving channels

Changes:
 + PrivateChannels may not always have a User
 + PrivateChannels contain a convenience retrieveUser method
 + JDA#retrieveChannelById
 + Reaction events no longer wait for the channel to be cached
 + The GET_CHANNEL route, for retrieving channels
@oliver276 oliver276 force-pushed the feature/direct_message_nullables branch from 71c8941 to 5b1306d Compare February 4, 2022 10:07
@DV8FromTheWorld DV8FromTheWorld added type: breaking contains a backwards incompatible change and removed type: breaking contains a backwards incompatible change labels Feb 5, 2022
@DV8FromTheWorld DV8FromTheWorld changed the title Updates events received in DMs to fire instantly, with less information Change PrivateChannel#getUser to handle API nullability Feb 5, 2022
@MinnDevelopment MinnDevelopment added this to In progress in v5 Feb 5, 2022
Co-authored-by: Florian Spieß <business@minn.dev>
oliver276 and others added 2 commits February 6, 2022 16:16
Co-authored-by: Florian Spieß <business@minn.dev>
oliver276 and others added 2 commits February 6, 2022 16:44
Co-authored-by: Florian Spieß <business@minn.dev>
oliver276 and others added 2 commits February 19, 2022 13:46
v5 automation moved this from In progress to Reviewer approved Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: breaking contains a backwards incompatible change
Projects
v5
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants