CommandBuilder class

Constructors

CommandBuilder(String label, String description, {Scope? scope, List<Permission>? permissions, bool everyone = false})

Properties

description String
no setterinherited
everyone bool
final
groups List<CommandGroupBuilder>
no setter
hashCode int
The hash code for this object.
no setterinherited
label String
no setterinherited
permissions List<Permission>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
no setterinherited
subcommands List<SubCommandBuilder>
no setter
toJson Object
no setter

Methods

addGroup(CommandGroupBuilder builder) → void
addOption(Option option) → void
addSubcommand(SubCommandBuilder command) → void
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