mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
				synced 2025-10-30 19:50:06 +00:00 
			
		
		
		
	start migration onto 29.0.0
This commit is contained in:
		| @@ -1,4 +1,19 @@ | ||||
| import dev.inmo.kslog.common.KSLog | ||||
| import dev.inmo.kslog.common.LogLevel | ||||
| import dev.inmo.kslog.common.defaultMessageFormatter | ||||
| import dev.inmo.kslog.common.setDefaultKSLog | ||||
|  | ||||
| suspend fun main(args: Array<String>) { | ||||
|     val isDebug = args.getOrNull(1) == "debug" | ||||
|  | ||||
|     if (isDebug) { | ||||
|         setDefaultKSLog( | ||||
|             KSLog { level: LogLevel, tag: String?, message: Any, throwable: Throwable? -> | ||||
|                 println(defaultMessageFormatter(level, tag, message, throwable)) | ||||
|             } | ||||
|         ) | ||||
|     } | ||||
|  | ||||
|     activateResenderBot(args.first()) { | ||||
|         println(it) | ||||
|     } | ||||
|   | ||||
| @@ -5,9 +5,9 @@ org.gradle.jvmargs=-Xmx3148m | ||||
| kotlin.daemon.jvmargs=-Xmx3g -Xms500m | ||||
|  | ||||
|  | ||||
| kotlin_version=2.2.0 | ||||
| telegram_bot_api_version=28.0.0 | ||||
| micro_utils_version=0.26.2 | ||||
| kotlin_version=2.2.10 | ||||
| telegram_bot_api_version=29.0.0 | ||||
| micro_utils_version=0.26.3 | ||||
| serialization_version=1.9.0 | ||||
| ktor_version=3.2.3 | ||||
| compose_version=1.8.2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user