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

feat(params): Export AppCommandAttrs and SlashCommandAttrs. #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elenakrittik
Copy link
Contributor

@elenakrittik elenakrittik commented Jan 5, 2024

This allows users to validate their "attribute bundles" by annotating them with any of the *Attrs. *Params were renamed to *Attrs to be consistent with parameter names in Plugin.__init__.

As for type-checking _*attrs params in Plugin.__init__, as well as doing the same for prefix commands..

@elenakrittik elenakrittik changed the title There's nothing we can do. feat(params): Export AppCommandAttrs and SlashCommandAttrs. Jan 5, 2024
@ooliver1
Copy link

ooliver1 commented Jan 6, 2024

Quite the descriptive commits you have there.

@elenakrittik
Copy link
Contributor Author

Quite the descriptive commits you have there.

Branch names are very useful too as you can see.

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