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

Allow command integration types + contexts to be set #10

Closed
MattIPv4 opened this issue Mar 23, 2024 · 0 comments · Fixed by #11
Closed

Allow command integration types + contexts to be set #10

MattIPv4 opened this issue Mar 23, 2024 · 0 comments · Fixed by #11
Assignees

Comments

@MattIPv4
Copy link
Owner

See https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-structure

I think a nice structure would be to have both under a contexts object: contexts: { installation: [], interaction: [] }.

This is blocked by discordjs/discord-api-types#921

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 a pull request may close this issue.

1 participant