CommandRegisterable<T extends CommandContext> class
abstract
Represents an entity that can be added as a child to a command group.
You might also be interested in:
- CommandGroup, the interface for groups that CommandRegisterables can be added to.
- Implemented types
- Implementers
Constructors
Properties
-
checks
→ Iterable<
AbstractCheck> -
The checks that should be applied to this entity.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localizedNames
→ Map<
Locale, String> ? -
The localized names of this child.
Since you cannot add descriptions to UserCommand and MessageCommand, can't set localized descriptions too.
no setter
- name → String
-
The name of this child.
no setter
-
onPostCall
→ Stream<
T> -
A stream that emits contexts after the command callback is executed.
no setterinherited
-
onPreCall
→ Stream<
T> -
A stream that emits contexts before the command callback is executed.
no setterinherited
- options → CommandOptions
-
The options to use for this entity.
no setterinherited
-
parent
↔ CommandGroup<
CommandContext> ? -
The parent of this child.
getter/setter pair
- resolvedOptions → CommandOptions
-
Get the resolved options for this child.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
check(
AbstractCheck check) → void -
Add a check to this entity.
inherited
-
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