MineralCommand<T extends CommandInteraction> class

Inheritance

Constructors

MineralCommand({required Display label, required Display description, CommandScope? scope, List<CommandOption> options = const [], List<MineralSubcommand<CommandInteraction>> subcommands = const [], List<MineralCommandGroup<CommandInteraction>> groups = const [], List<ClientPermission> permissions = const [], bool everyone = false, bool nsfw = false})

Properties

description Display
no setterinherited
everyone bool
final
groups List<MineralCommandGroup<CommandInteraction>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label Display
no setterinherited
nsfw bool
final
options List<CommandOption>
getter/setter pair
permissions List<ClientPermission>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope CommandScope?
no setterinherited
serialize Map<String, dynamic>
no setteroverride
subcommands List<MineralSubcommand<CommandInteraction>>
getter/setter pair

Methods

handle(T interaction) Future<void>
override
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