MineralCommand<T extends CommandInteraction> constructor
MineralCommand<T extends CommandInteraction> ({
- required Display label,
- required Display description,
- CommandScope? scope,
- List<
CommandOption> options = const [], - List<
MineralSubcommand< subcommands = const [],CommandInteraction> > - List<
MineralCommandGroup< groups = const [],CommandInteraction> > - List<
ClientPermission> permissions = const [], - bool everyone = false,
- bool nsfw = false,
Implementation
MineralCommand( {
required Display label,
required Display description,
CommandScope? scope,
this.options = const [],
this.subcommands = const [],
this.groups = const [],
this.permissions = const [],
this.everyone = false,
this.nsfw = false,
}) : super(label, description, scope ?? CommandScope.guild);