type property

CommandOptionType type

The type of arg that will be later changed to an INT value, their values can be seen in the table below:

Name Value
SUB_COMMAND 1
SUB_COMMAND_GROUP 2
STRING 3
INTEGER 4
BOOLEAN 5
USER 6
CHANNEL 7
ROLE 8

Implementation

CommandOptionType get type;