Skip to content

Support installation_types for slash command builders #10215

@GeekCornerGH

Description

@GeekCornerGH

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions