export interface APIApplicationCommandSee also: https://discord.com/developers/docs/interactions/application-commands#application-command-object
externalapplication_id : Snowflake
Unique id of the parent application
optionalexternalcontexts? : InteractionContextType[] | null = [InteractionContextType.Guild, InteractionContextType.BotDM, InteractionContextType.PrivateChannel]
Interaction context(s) where the command can be used, only for globally-scoped commands
externaldefault_member_permissions : Permissions | null
Set of permissions represented as a bitset
deprecatedoptionalexternaldefault_permission? : boolean
Use dm_permission and/or default_member_permissions instead
Whether the command is enabled by default when the app is added to a guildIf missing, this property should be assumed as true
optionalexternaldescription_localizations? : LocalizationMap | null
Localization dictionary for the description field. Values follow the same restrictions as description
optionalexternaldescription_localized? : string
The localized description
externaldescription : string
1-100 character description for CHAT_INPUT commands, empty string for USER and MESSAGE commands
deprecatedoptionalexternaldm_permission? : boolean
Use contexts instead
Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible
optionalexternalguild_id? : Snowflake
Guild id of the command, if not global
optionalexternalhandler? : EntryPointCommandHandlerType
Determines whether the interaction is handled by the app's interactions handler or by Discord
externalid : Snowflake
Unique id of the command
optionalexternalintegration_types? : ApplicationIntegrationType[] = [ApplicationIntegrationType.GuildInstall]
Installation context(s) where the command is available, only for globally-scoped commands
optionalexternalname_localizations? : LocalizationMap | null
Localization dictionary for the name field. Values follow the same restrictions as name
optionalexternalname_localized? : string
The localized name
externalname : string
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}$
optionalexternalnsfw? : boolean = false
Indicates whether the command is age-restricted
optionalexternaloptions? : APIApplicationCommandOption[]
The parameters for the CHAT_INPUT command, max 25
externaltype : ApplicationCommandType
Type of the command
externalversion : Snowflake
Autoincrementing version identifier updated during substantial record changes