ApplicationCommandOptionType enum
Application Command Option types
Constructors
- ApplicationCommandOptionType()
-
const
Values
- subCommand → const ApplicationCommandOptionType
-
sub command
- subCommandGroup → const ApplicationCommandOptionType
-
sub command group
- string → const ApplicationCommandOptionType
-
string
- integer → const ApplicationCommandOptionType
-
Any integer between -2^53 and 2^53
- boolean → const ApplicationCommandOptionType
-
boolean
- user → const ApplicationCommandOptionType
-
user
User ID
- channel → const ApplicationCommandOptionType
-
Includes all channel types + categories
Channel ID
- role → const ApplicationCommandOptionType
-
role
Role ID
- mentionable → const ApplicationCommandOptionType
-
Includes users and roles
- number → const ApplicationCommandOptionType
-
Any double between -2^53 and 2^53
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
-
values
→ const List<
ApplicationCommandOptionType> - A constant List of the values in this enum, in order of their declaration.