Skip to content
GitHub

PrimaryEntryPointCommandData

type alias in meocord/interface Since 4.1.0

type PrimaryEntryPointCommandData =
  RESTPostAPIPrimaryEntryPointApplicationCommandJSONBody & {
    description?: string
  }

The body an entry point command is registered with.

description is added back on top of the discord-api-types body: that type omits it from every non-chat-input command, but the API accepts one for entry point commands — Discord's own default activity command ships with it set.

See also