Skip to main content
Version: 0.37.76

RESTPostAPIChatInputApplicationCommandsJSONBody

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Hierarchy

  • RESTPostAPIBaseApplicationCommandsJSONBody
    • RESTPostAPIChatInputApplicationCommandsJSONBody

Index

Properties

optionaldefault_permission

default_permission?: boolean

Whether the command is enabled by default when the app is added to a guild

If missing, this property should be assumed as true

description

description: string

name

name: string

1-32 character name; CHAT_INPUT command names must be all lowercase matching ^[\w-]{1,32}$

optionaloptions

options?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<APIApplicationCommandOption>[]

The parameters for the CHAT_INPUT command, max 25

optionaltype

type?: ChatInput