From 89164058afa46f548c11e12e4288cd69826de265 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 31 Jan 2021 17:42:15 +0600 Subject: [PATCH] Fix command --- src/main/kotlin/telegram_bot/App.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/telegram_bot/App.kt b/src/main/kotlin/telegram_bot/App.kt index 1b365f4..8bb37ad 100644 --- a/src/main/kotlin/telegram_bot/App.kt +++ b/src/main/kotlin/telegram_bot/App.kt @@ -23,7 +23,7 @@ suspend fun main(args: Array) { val me = getMe() // this method will create point to react on each /start command - onCommand("/start", requireOnlyCommandInMessage = true) { + onCommand("start", requireOnlyCommandInMessage = true) { // simply reply :) reply(it, "Hello, I am ${me.firstName}") }