Optional
__autoload
__autoload?: true
Optional
__filePath
__filePath?: string
Optional
__t
__t?: { description: undefined | string; name: undefined | string }
Optional
__tGroups
__tGroups?: Record<
string,
{
defaultDescription: string;
description: undefined
| string;
name: undefined | string;
},
>
Optional
aliases
aliases?: string[]
Optional
botPermissions
botPermissions?: bigint
contexts
contexts: InteractionContextType[] = []
Optional
defaultMemberPermissions
defaultMemberPermissions?: bigint
description
description: string
Optional
description_localizations
description_localizations?: Partial<
Record<
| "id"
| "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"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi",
string,
>,
>
Optional
groups
groups?: Record<
string,
{
aliases?: string[];
defaultDescription: string;
description?: [
language: | "id"
| "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"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi",
value: string,
][];
name?: [
language: | "id"
| "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"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi",
value: string,
][];
},
>
Optional
groupsAliases
groupsAliases?: Record<string, string>
Optional
guildId
guildId?: string[]
integrationTypes
integrationTypes: ApplicationIntegrationType[] = []
middlewares
middlewares: never[] = []
Optional
name_localizations
name_localizations?: Partial<
Record<
| "id"
| "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"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi",
string,
>,
>
Optional
nsfw
nsfw?: boolean
type
type: ApplicationCommandType = ApplicationCommandType.ChatInput