From 6eafd89542afb1ba95699872f82c819a06ba25e9 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 8 Sep 2024 19:44:51 +0600 Subject: [PATCH] add println of giveaway content --- GiveawaysBot/src/main/kotlin/GiveawaysBot.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GiveawaysBot/src/main/kotlin/GiveawaysBot.kt b/GiveawaysBot/src/main/kotlin/GiveawaysBot.kt index 7912879..ec2928a 100644 --- a/GiveawaysBot/src/main/kotlin/GiveawaysBot.kt +++ b/GiveawaysBot/src/main/kotlin/GiveawaysBot.kt @@ -46,7 +46,9 @@ suspend fun main(vararg args: String) { println(it) } - onGiveawayContent { } + onGiveawayContent { + println(it) + } allUpdatesFlow.subscribeSafelyWithoutExceptions(this) { println(it)