mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2026-12-04 09:12:59 +00:00
Fix command
This commit is contained in:
1 parent
80b28bd7a9
commit
89164058af
1 file changed
+1
-1
@@ -23,7 +23,7 @@ suspend fun main(args: Array<String>) {
|
||||
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}")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user