JDA
JDA copied to clipboard
Add x-super-properties header
Pull Request Etiquette
- [x] I have checked the PRs for upcoming features/bug fixes.
- [x] I have read the contributing guidelines.
Changes
- [x] 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.
This is required for #2532
It would be ideal if this were configurable to some degree -- newer features will be gated to later minimum app versions.
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.