mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2026-10-25 21:36:56 +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()
|
val me = getMe()
|
||||||
|
|
||||||
// this method will create point to react on each /start command
|
// this method will create point to react on each /start command
|
||||||
onCommand("/start", requireOnlyCommandInMessage = true) {
|
onCommand("start", requireOnlyCommandInMessage = true) {
|
||||||
// simply reply :)
|
// simply reply :)
|
||||||
reply(it, "Hello, I am ${me.firstName}")
|
reply(it, "Hello, I am ${me.firstName}")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user