SubCommandBuilder class final
Constructors
Properties
Methods
-
addOption<
T extends CommandOption> (T option) → SubCommandBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDescription(
String description, {Translation? translation}) → SubCommandBuilder -
setHandle(
Function fn) → SubCommandBuilder -
setName(
String name, {Translation? translation}) → SubCommandBuilder -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited