Readonly
application_Optional
Readonly
contextscontexts Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands.
Readonly
default_default_member_permissions Set of permissions represented as a bit set
string
Readonly
descriptiondescription Description for CHAT_INPUT commands, 1-100 characters. Empty string for USER and MESSAGE commands
string
Optional
Readonly
description_description_localizations Localization dictionary for description field. Values follow the same restrictions as description
Optional
Readonly
dm_dm_permission Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
boolean
Optional
Readonly
guild_guild_id Guild ID of the command, if not global
Readonly
idid Unique ID of command
Optional
Readonly
integration_integration_types Installation context(s) where the command is available, only for globally-scoped commands. Defaults to GUILD_INSTALL (0)
Readonly
namename Name of command, 1-32 characters
string
Optional
Readonly
name_name_localization Localization dictionary for name field. Values follow the same restrictions as name
Optional
Readonly
nsfwnsfw Indicates whether the command is age-restricted, defaults to false
boolean
Optional
Readonly
optionsoptions Parameters for the command, max of 25
Optional
Readonly
typetype Type of command, defaults to 1
Readonly
versionversion Autoincrementing version identifier updated during substantial record changes
Generated using TypeDoc
application_id ID of the parent application