From 159521489455af9b9ada11f2cb63ac4064f8ded3 Mon Sep 17 00:00:00 2001 From: Jey Date: Mon, 30 Oct 2023 04:37:14 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ad4bfd9de..7a62c42c8a 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ fun main() = runBlocking { bot.handleUpdates { update -> onCommand("/start") { message { "Hello, what's your name?" }.send(user, bot) - bot.inputListener.set(user.id, "conversation") + bot.inputListener[user] = "conversation" } inputChain("conversation") { message { "Nice to meet you, ${message.text}" }.send(user, bot)