mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-bot_template.git
synced 2026-11-02 09:43:16 +00:00
update to wait for buildBehaviour completance
This commit is contained in:
1 parent
f46b976f52
commit
e2626f4163
1 file changed
+1
-3
@@ -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()
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user