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.
Name | Type | Optional | Description |
---|---|---|---|
max | number | No | The maximum value this option can be |
setMinValue(min)
:
this
Sets the minimum number value of this option.
Name | Type | Optional | Description |
---|---|---|---|
min | number | No | The minimum value this option can be |