JDA
JDA copied to clipboard
Add getting cache flags from events
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
- [X] Library interface (affecting end-user code)
- [X] Documentation
- [ ] Other: _____
Closes Issue: NaN
Description
Allows getting cache flags from events, also fixes documented requirements of scheduled events, and clarifies permission overrides events
Replaces getting cache flags / gateway intents using annotations
For reference, here is how https://github.com/discord-jda/JDA/pull/2558/commits/aa6788daae50067eed066933f56b0d49e2f60f87 is made: Generate requirement annotations.patch