APIApplicationCommand
Index
Properties
application_id
Unique id of the parent application
optionaldefault_member_permissions
Set of permissions represented as a bitset
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
1-100 character description for CHAT_INPUT
commands, empty string for USER
and MESSAGE
commands
optionaldescription_localizations
Localization dictionary for the description field. Values follow the same restrictions as description
optionaldescription_localized
The localized description
optionaldm_permission
Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible
optionalguild_id
Guild id of the command, if not global
id
Unique id of the command
name
1-32 character name; CHAT_INPUT
command names must be all lowercase matching ^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
optionalname_localizations
Localization dictionary for the name field. Values follow the same restrictions as name
optionalname_localized
The localized name
optionaloptions
The parameters for the CHAT_INPUT
command, max 25
type
Type of the command
version
Autoincrementing version identifier updated during substantial record changes
https://discord.com/developers/docs/interactions/application-commands#application-command-object