export declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin

readonlyoptional
description_localizations? : LocalizationMap

Inherited from: SharedNameAndDescription

readonly
description : string

Inherited from: SharedNameAndDescription

readonlyoptional
name_localizations? : LocalizationMap

Inherited from: SharedNameAndDescription

readonly
name : string

Inherited from: SharedNameAndDescription

readonly
required : boolean

Inherited from: ApplicationCommandOptionBase

readonlyoptional
autocomplete? : boolean

Inherited from: ApplicationCommandOptionWithChoicesAndAutocompleteMixin

readonlyoptional
max_value? : number

Inherited from: ApplicationCommandNumericOptionMinMaxValueMixin

readonlyoptional
min_value? : number

Inherited from: ApplicationCommandNumericOptionMinMaxValueMixin

protected
runRequiredValidations() : void

Inherited from: ApplicationCommandOptionBase

setDescription(
description: string
) : this

Sets the description

Inherited from: SharedNameAndDescription

setDescriptionLocalization(
locale: LocaleString
localizedDescription: string | null
) : this

Sets a description localization

Inherited from: SharedNameAndDescription

setDescriptionLocalizations(
localizedDescriptions: LocalizationMap | null
) : this

Sets the description localizations

Inherited from: SharedNameAndDescription

setMaxValue(
max: number
) : this

Sets the maximum number value of this option

setMinValue(
min: number
) : this

Sets the minimum number value of this option

setName(
name: string
) : this

Sets the name

Inherited from: SharedNameAndDescription

setNameLocalization(
locale: LocaleString
localizedName: string | null
) : this

Sets a name localization

Inherited from: SharedNameAndDescription

setNameLocalizations(
localizedNames: LocalizationMap | null
) : this

Sets the name localizations

Inherited from: SharedNameAndDescription

setRequired(
required: boolean
) : this

Marks the option as required

Inherited from: ApplicationCommandOptionBase

addChoices() : this

Adds multiple choices for this option

Inherited from: ApplicationCommandOptionWithChoicesAndAutocompleteMixin

setAutocomplete(
autocomplete: boolean
) : this

Marks the option as autocompletable

Inherited from: ApplicationCommandOptionWithChoicesAndAutocompleteMixin

setChoices<>(
choices: Input
) : this

Inherited from: ApplicationCommandOptionWithChoicesAndAutocompleteMixin

abstract
setMaxValue(
max: number
) : this

Sets the maximum number value of this option

Inherited from: ApplicationCommandNumericOptionMinMaxValueMixin

abstract
setMinValue(
min: number
) : this

Sets the minimum number value of this option

Inherited from: ApplicationCommandNumericOptionMinMaxValueMixin