Skip to content

Conversation

@MinnDevelopment
Copy link
Member

Pull Request Etiquette

Changes

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

Closes Issue: NaN

Description

This adds support for the X-Super-Properties header in JDA. This header is required to use certain features in the API that discord forgot about.

@MinnDevelopment
Copy link
Member Author

This is required for #2532

@MinnDevelopment MinnDevelopment marked this pull request as draft November 18, 2023 18:55
@RedDaedalus
Copy link
Contributor

It would be ideal if this were configurable to some degree -- newer features will be gated to later minimum app versions.

@MinnDevelopment
Copy link
Member Author

It would be ideal if this were configurable to some degree -- newer features will be gated to later minimum app versions.

Headers can already be customized with setRestConfig by setting a custom builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants