MineralCommand<T extends CommandInteraction> constructor

MineralCommand<T extends CommandInteraction>({
  1. required Display label,
  2. required Display description,
  3. CommandScope? scope,
  4. List<CommandOption> options = const [],
  5. List<MineralSubcommand<CommandInteraction>> subcommands = const [],
  6. List<MineralCommandGroup<CommandInteraction>> groups = const [],
  7. List<ClientPermission> permissions = const [],
  8. bool everyone = false,
  9. 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);