ICommandOption class abstract

Constructors

ICommandOption()

Properties

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

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