inferDefaultCommandType property

bool inferDefaultCommandType
final

Whether to infer the default command type.

If this is true and type is CommandType.all, then the root command type used will be CommandType.slashOnly if CommandsPlugin.prefix is not specified. If CommandsPlugin.prefix is specified, the root command type will be left as-is.

Implementation

final bool inferDefaultCommandType;