mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2024-12-22 16:47:18 +00:00
Fix command
This commit is contained in:
parent
80b28bd7a9
commit
89164058af
@ -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}")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user