Properties
application_id
application_id: string
Optional default_member_permissions
default_member_permissions?: null | string
Optional default_permission
default_permission?: boolean
description
description: string
Optional description_localizations
description_localizations?: null | Partial<Record<"en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", null | string>>
Optional description_localized
description_localized?: string
Optional dm_permission
dm_permission?: null | boolean
Optional guild_id
guild_id?: string
id
id: string
name
name: string
Optional name_localizations
name_localizations?: null | Partial<Record<"en-US" | "en-GB" | "bg" | "zh-CN" | "zh-TW" | "hr" | "cs" | "da" | "nl" | "fi" | "fr" | "de" | "el" | "hi" | "hu" | "it" | "ja" | "ko" | "lt" | "no" | "pl" | "pt-BR" | "ro" | "ru" | "es-ES" | "sv-SE" | "th" | "tr" | "uk" | "vi", null | string>>
Optional name_localized
name_localized?: string
Optional options
type
version
version: string
https://discord.com/developers/docs/interactions/application-commands#application-command-object