Skip to content

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

Open
elenakrittik wants to merge 1 commit intoDisnakeCommunity:masterfrom
elenakrittik:idunno
Open

feat(params): Export AppCommandAttrs and SlashCommandAttrs.#20
elenakrittik wants to merge 1 commit intoDisnakeCommunity:masterfrom
elenakrittik:idunno

Conversation

@elenakrittik
Copy link
Copy Markdown
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
Copy Markdown

ooliver1 commented Jan 6, 2024

Quite the descriptive commits you have there.

@elenakrittik
Copy link
Copy Markdown
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