class ApplicationCommandOptionBase
extends
SharedNameAndDescriptionexport declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription
readonlyoptionalLocalizationMap description_localizations? :
Inherited from: SharedNameAndDescription
readonlystring description :
Inherited from: SharedNameAndDescription
readonlyoptionalLocalizationMap name_localizations? :
Inherited from: SharedNameAndDescription
readonlystring name :
Inherited from: SharedNameAndDescription
readonlyboolean required :
readonlyApplicationCommandOptionType type :
protected runRequiredValidationsvoid () :
setDescriptiondescription: string) : this (
description: string
Sets the description
Inherited from: SharedNameAndDescription
setDescriptionLocalizationlocale: LocaleStringlocalizedDescription: string | null) : this (
locale: LocaleString
localizedDescription: string | null
Sets a description localization
Inherited from: SharedNameAndDescription
setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
localizedDescriptions: LocalizationMap | null
Sets the description localizations
Inherited from: SharedNameAndDescription
setNameLocalizationlocale: LocaleStringlocalizedName: string | null) : this (
locale: LocaleString
localizedName: string | null
Sets a name localization
Inherited from: SharedNameAndDescription
setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
localizedNames: LocalizationMap | null
Sets the name localizations
Inherited from: SharedNameAndDescription
setRequiredrequired: boolean) : this (
required: boolean
Marks the option as required