Fix command

This commit is contained in:
InsanusMokrassar 2021-01-31 17:42:15 +06:00 committed by GitHub
parent 80b28bd7a9
commit 89164058af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}")
}