Search...

ApplicationCommandNumericOptionMinMaxValueMixin

export declare abstract class ApplicationCommandNumericOptionMinMaxValueMixin 
export declare abstract class ApplicationCommandNumericOptionMinMaxValueMixin 
This mixin holds minimum and maximum symbols used for options.
Readonly
Optional

max_value?

:

number

The maximum value of this option.
Readonly
Optional

min_value?

:

number

The minimum value of this option.

setMaxValue(max)

:

this

Sets the maximum number value of this option.
NameTypeOptionalDescription
maxnumberNoThe maximum value this option can be

setMinValue(min)

:

this

Sets the minimum number value of this option.
NameTypeOptionalDescription
minnumberNoThe minimum value this option can be