CommandArgType enum Null safety
The type that a user should input for a SlashArg
Constants
- boolean → const CommandArgType
-
Specify an arg as a bool
const CommandArgType(4)
- channel → const CommandArgType
-
Specify an arg as a channel e.g. #Help
const CommandArgType(6)
- integer → const CommandArgType
-
Specify an arg as an int
const CommandArgType(3)
- role → const CommandArgType
-
Specify an arg as a role e.g. @RoleName
const CommandArgType(7)
- string → const CommandArgType
-
Specify an arg as a string
const CommandArgType(2)
- subCommand → const CommandArgType
-
Specify an arg as a sub command
const CommandArgType(0)
- subCommandGroup → const CommandArgType
-
Specify an arg as a sub command group
const CommandArgType(1)
- user → const CommandArgType
-
Specify an arg as a user e.g @HarryET#2954
const CommandArgType(5)
-
values
→ const List<
CommandArgType> -
A constant List of the values in this enum, in order of their declaration.
const List<
CommandArgType>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited