CommandOptionType class
The type that a user should input for a CommandOptionBuilder
Constructors
- CommandOptionType(int value)
-
Create new instance of CommandArgType
const
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 ==(
dynamic other) → bool -
The equality operator.
inherited
Constants
- boolean → const CommandOptionType
- Specify an arg as a bool
- channel → const CommandOptionType
- Specify an arg as a channel e.g. #Help
- integer → const CommandOptionType
- Specify an arg as an int
- role → const CommandOptionType
- Specify an arg as a role e.g. @RoleName
- string → const CommandOptionType
- Specify an arg as a string
- subCommand → const CommandOptionType
- Specify an arg as a sub command
- subCommandGroup → const CommandOptionType
- Specify an arg as a sub command group
- user → const CommandOptionType
- Specify an arg as a user e.g @HarryET#2954