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

Support installation_types for slash command builders #10215

Open
GeekCornerGH opened this issue Apr 15, 2024 · 0 comments · May be fixed by #10227
Open

Support installation_types for slash command builders #10215

GeekCornerGH opened this issue Apr 15, 2024 · 0 comments · May be fixed by #10227

Comments

@GeekCornerGH
Copy link

Which application or package is this feature request for?

builders

Feature

Discord released User-installable apps and Discord.js isn't supporting it. So I'm opening this issue so you can put it into your backlog.

Ideal solution or implementation

Add 2 properties to the SlashCommandBuilder constructor, which are

  1. Integration types (field name: integration_types)
  2. Interaction context (field name:contexts)
    Per the Discord Application Command Object docs

Alternative solutions or implementations

No response

Other context

Per this video, the standard ChatInputInteraction should work with user installed-apps, but I'm not sure about complex uses-cases

@Jiralite Jiralite changed the title feat: Support installation_types for slash command builders Support installation_types for slash command builders Apr 15, 2024
@discordjs discordjs deleted a comment from zastlx Apr 26, 2024
@Syjalo Syjalo linked a pull request Apr 26, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants