JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Add getting cache flags from events

Open freya022 opened this issue 1 year ago • 1 comments

Pull Request Etiquette

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

freya022 avatar Oct 07 '23 09:10 freya022

For reference, here is how https://github.com/discord-jda/JDA/pull/2558/commits/aa6788daae50067eed066933f56b0d49e2f60f87 is made: Generate requirement annotations.patch

freya022 avatar Apr 23 '24 20:04 freya022