Skip to content
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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

freya022
Copy link
Contributor

@freya022 freya022 commented Oct 7, 2023

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • 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 freya022 marked this pull request as ready for review October 7, 2023 15:49
Copy link
Contributor

@Andre601 Andre601 left a 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)

@freya022 freya022 marked this pull request as draft October 15, 2023 12:47
@freya022 freya022 marked this pull request as ready for review October 16, 2023 12:15
freya022 added a commit to freya022/BotCommands that referenced this pull request Oct 27, 2023
@freya022 freya022 marked this pull request as draft April 21, 2024 13:27
@freya022 freya022 force-pushed the feature/cache-flag-from-events branch from f98bd83 to 44e57a9 Compare April 23, 2024 20:25
@freya022 freya022 marked this pull request as ready for review April 23, 2024 20:26
@freya022
Copy link
Contributor Author

For reference, here is how aa6788d is made: Generate requirement annotations.patch

@freya022 freya022 force-pushed the feature/cache-flag-from-events branch from 44e57a9 to a60bdca Compare October 5, 2024 17:46
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