mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-09-07 16:49:07 +00:00
update readmes
This commit is contained in:
@@ -3,6 +3,12 @@ import dev.inmo.kslog.common.LogLevel
|
||||
import dev.inmo.kslog.common.defaultMessageFormatter
|
||||
import dev.inmo.kslog.common.setDefaultKSLog
|
||||
|
||||
/**
|
||||
* Starts the JVM resender launcher.
|
||||
*
|
||||
* [args] must contain the bot token first. An optional exact `debug` value in the
|
||||
* second position enables diagnostic logging; later elements are ignored.
|
||||
*/
|
||||
suspend fun main(args: Array<String>) {
|
||||
val isDebug = args.getOrNull(1) == "debug"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user