mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-08-29 12:26:25 +00:00
update readmes
This commit is contained in:
@@ -5,6 +5,12 @@ import dev.inmo.kslog.common.setDefaultKSLog
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.withContext
|
||||
|
||||
/**
|
||||
* Runs [activateKeyboardsBot] on the JVM and prints its startup bot information to standard output.
|
||||
*
|
||||
* @param args the bot token as the first element and, optionally, `debug` in a later element to enable formatted
|
||||
* KSLog output
|
||||
*/
|
||||
suspend fun main(args: Array<String>) {
|
||||
val isDebug = args.any { it == "debug" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user