RESTPostAPIChatInputApplicationCommandsJSONBody
Hierarchy
- RESTPostAPIBaseApplicationCommandsJSONBody
- RESTPostAPIChatInputApplicationCommandsJSONBody
Index
Properties
optionaldefault_permission
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
name
1-32 character name; CHAT_INPUT
command names must be all lowercase matching ^[\w-]{1,32}$
optionaloptions
The parameters for the CHAT_INPUT
command, max 25
https://discord.com/developers/docs/interactions/application-commands#create-global-application-command
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.