tock / ai.tock.bot.engine.nlp / KeywordService / keywordHandler

keywordHandler

open fun keywordHandler(keyword: String): ((bus: BotBus) -> Unit)? (source)

If this method returns not null for the specified keyword, then the returned handler is called.