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

Slash commands #71

Merged
merged 21 commits into from
Aug 14, 2021
Merged

Slash commands #71

merged 21 commits into from
Aug 14, 2021

Conversation

swarley
Copy link
Member

@swarley swarley commented Aug 14, 2021

Summary

Adds support for application commands, button interactions, select menus, and context menus.

Closes #5
Closes #8


Added

  • EventContainer#application_command
  • EventContainer#button
  • EventContainer#select
  • ButtonEvent
  • SelectEvent
  • ApplicationCommandEvent
  • Many associated methods and data partials relevant to application commands an interactions.

swarley and others added 21 commits May 24, 2021 18:14
Exposes the "data" object which provides the custom_id of the clicked
button. Adds a convenience method for retrieving the selected button by
its custom_id, useful for obtaining the label of the clicked button.
Adds new buttony TYPES.
Resolves an issue where Presence events provide member objects without
the "roles" key.
@swarley swarley added enhancement New feature or request interactions Deals with interactions or slash commands labels Aug 14, 2021
@swarley swarley added this to In progress in Interactions via automation Aug 14, 2021
@swarley swarley merged commit 2e4ecc9 into main Aug 14, 2021
Interactions automation moved this from In progress to Done Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request interactions Deals with interactions or slash commands
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Support Slash Command Gateway Events Support new slash commands
3 participants