Skip to content

Conversation

@artem30801
Copy link
Contributor

About this pull request

Merging discord-py-interactions into discord-py-slash-command to add components support

  • Added documentation of components
  • Added examples with components

Up to discussion - remove "select" component for now?

Changes

  • Added d.py monkeypatching to add components to all messages
  • Addded functions to generate components
  • Added ComponentContext, extracted common methods/attributes to InteractionContext
  • Added component event handling and dispatching
  • Added functions to wait for component interactions
    Changes from LordOfPolls:
  • Slash commands now work with d.py cooldowns
  • Refactor of handling d.py checks and cooldowns

Checklist

  • I've checked this pull request runs on Python 3.6.X.
  • This fixes something in Issues.
    • Issue:
  • This adds something new.
  • There is/are breaking change(s).
  • (If required) Relevant documentation has been updated/added.
  • This is not a code change. (README, docs, etc.)

@LordOfPolls LordOfPolls changed the base branch from master to components June 5, 2021 19:41
@LordOfPolls LordOfPolls merged commit 8d337b5 into interactions-py:components Jun 5, 2021
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.

3 participants