mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2024-11-22 16:23:53 +00:00
update to wait for buildBehaviour completance
This commit is contained in:
parent
f46b976f52
commit
e2626f4163
@ -27,7 +27,5 @@ suspend fun main(args: Array<String>) {
|
|||||||
// simply reply :)
|
// simply reply :)
|
||||||
reply(it, "Hello, I am ${me.firstName}")
|
reply(it, "Hello, I am ${me.firstName}")
|
||||||
}
|
}
|
||||||
}
|
}.join()
|
||||||
|
|
||||||
scope.coroutineContext.job.join()
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user