CommandOptionType class final
The type of a CommandOption.
- Inheritance
-
- Object
- EnumLike<
int, CommandOptionType> - CommandOptionType
Constructors
- CommandOptionType.parse(int value)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- attachment → const CommandOptionType
- boolean → const CommandOptionType
- channel → const CommandOptionType
- integer → const CommandOptionType
- mentionable → const CommandOptionType
- number → const CommandOptionType
- role → const CommandOptionType
- string → const CommandOptionType
- subCommand → const CommandOptionType
- subCommandGroup → const CommandOptionType
- user → const CommandOptionType