-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
Add getting cache flags from events #2558
base: master
Are you sure you want to change the base?
Add getting cache flags from events #2558
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the Structure Guide:
If the class is not already imported, use the fully qualified name when you are inking to something through JavaDoc!
Bad:{@link RestAction}
Good:@link net.dv8tion.jda.core.requests.RestAction RestAction}
You are creating imports that are only used for the JavaDoc which is not a good aproach here. In fact are there inconsistencies in your JavaDoc (i.e. using {@link Guild#getPublicRole() @everyone}
but then later using the full path for the Guild class)
src/test/java/net/dv8tion/jda/GatewayIntentRequirementsTest.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/guild/override/GenericPermissionOverrideEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/guild/override/GenericPermissionOverrideEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/guild/override/PermissionOverrideUpdateEvent.java
Outdated
Show resolved
Hide resolved
Preparing for discord-jda/JDA#2558
f98bd83
to
44e57a9
Compare
For reference, here is how aa6788d is made: Generate requirement annotations.patch |
44e57a9
to
a60bdca
Compare
Pull Request Etiquette
Changes
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