CommandsOptions constructor
- {bool logErrors = true,
- bool autoAcknowledgeInteractions = true,
- Duration? autoAcknowledgeDuration,
- bool acceptBotCommands = false,
- bool acceptSelfCommands = false,
- ResponseLevel defaultResponseLevel = ResponseLevel.public,
- CommandType type = CommandType.all,
- bool inferDefaultCommandType = true,
- bool caseInsensitiveCommands = true}
Create a new set of CommandsOptions.
Implementation
const CommandsOptions({
this.logErrors = true,
this.autoAcknowledgeInteractions = true,
this.autoAcknowledgeDuration,
this.acceptBotCommands = false,
this.acceptSelfCommands = false,
this.defaultResponseLevel = ResponseLevel.public,
this.type = CommandType.all,
this.inferDefaultCommandType = true,
this.caseInsensitiveCommands = true,
});