ICommandOption class abstract
Constructors
Properties
-
choices
→ List<
IArgChoice> -
Choices for CommandOptionType.string and CommandOptionType.string types for the user to pick from
no setter
- description → String
-
The description of your argument / sub-group.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localizationsDescription
→ Map<
Locale, String> ? -
The localizations for the description of the option.
no setter
-
localizationsName
→ Map<
Locale, String> ? -
The localizations for the name of the option.
no setter
- name → String
-
The name of your argument / sub-group.
no setter
-
options
→ List<
ICommandOption> -
If the option is a subcommand or subcommand group type, this nested options will be the parameters
no setter
- required → bool
-
If this argument is required
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CommandOptionType
-
The type of arg that will be later changed to an INT value, their values can be seen in the table below:
no setter
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