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

feature: add new intents #233

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Birdie0
Copy link
Contributor

@Birdie0 Birdie0 commented Jul 22, 2023

Summary

Added missing intents, but mainly specifying message content intent as privileged one.


Added

Added next intents to INTENTS array:

  • MESSAGE_CONTENT (1 << 15)
  • GUILD_SCHEDULED_EVENTS (1 << 16)
  • AUTO_MODERATION_CONFIGURATION (1 << 20)
  • AUTO_MODERATION_EXECUTION (1 << 21)

Changed

Added MESSAGE_CONTENT intent to exclude it from list of unprivileged ones

Copy link
Contributor

@Droid00000 Droid00000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a few more new intents, and a minor wording change!

lib/discordrb.rb Outdated Show resolved Hide resolved
lib/discordrb.rb Outdated Show resolved Hide resolved
@Birdie0 Birdie0 force-pushed the feature/new-intents branch from d34213c to a285204 Compare October 14, 2024 07:39
@Birdie0
Copy link
Contributor Author

Birdie0 commented Oct 14, 2024

all done!

Copy link
Contributor

@Droid00000 Droid00000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants