on Command
inline suspend fun BehaviourContext.onCommand(commandRegex: Regex, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, noinline additionalFilter: CommonMessageFilter<TextContent>? = null, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard
inline suspend fun BehaviourContext.onCommand(command: String, requireOnlyCommandInMessage: Boolean = true, includeFilterByChatInBehaviourSubContext: Boolean = true, noinline additionalFilter: CommonMessageFilter<TextContent>? = null, noinline scenarioReceiver: BehaviourContextAndTypeReceiver<Unit, CommonMessage<TextContent>>): Job
Content copied to clipboard