CommandBase constructor

const CommandBase({
  1. required String name,
  2. required String description,
  3. List<String> aliases = const [],
  4. bool hidden = false,
  5. bool enabled = true,
  6. CommandAvailability availability = CommandAvailability.both,
  7. bool requiresMcp = false,
  8. String? version,
  9. bool sensitive = false,
})

Implementation

const CommandBase({
  required this.name,
  required this.description,
  this.aliases = const [],
  this.hidden = false,
  this.enabled = true,
  this.availability = CommandAvailability.both,
  this.requiresMcp = false,
  this.version,
  this.sensitive = false,
});