CommandHandler constructor Null safety
- String name,
- CommandHandlerFunction commandHandler,
- {List<
String> aliases = const [], - PassHandlerFunction? beforeHandler,
- AfterHandlerFunction? afterHandler,
- BasicCommandGroup? parent}
Basic implementation of command handler. Used internally in library.
Implementation
CommandHandler(this.name, this.commandHandler, {this.aliases = const [], this.beforeHandler, this.afterHandler, this.parent});