summaryrefslogtreecommitdiff
path: root/sw-bot
diff options
context:
space:
mode:
Diffstat (limited to 'sw-bot')
-rw-r--r--sw-bot/build.gradle.kts1
-rw-r--r--sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt5
2 files changed, 4 insertions, 2 deletions
diff --git a/sw-bot/build.gradle.kts b/sw-bot/build.gradle.kts
index fd4de5e0..ac565683 100644
--- a/sw-bot/build.gradle.kts
+++ b/sw-bot/build.gradle.kts
@@ -1,6 +1,5 @@
plugins {
kotlin("jvm")
- id("org.jlleitschuh.gradle.ktlint")
}
dependencies {
diff --git a/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt b/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
index 61ef37e9..c03ee201 100644
--- a/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
+++ b/sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt
@@ -2,7 +2,10 @@ package org.luxons.sevenwonders.bot
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.delay
-import kotlinx.coroutines.flow.*
+import kotlinx.coroutines.flow.collect
+import kotlinx.coroutines.flow.onCompletion
+import kotlinx.coroutines.flow.onStart
+import kotlinx.coroutines.flow.takeWhile
import kotlinx.coroutines.withTimeout
import org.luxons.sevenwonders.client.SevenWondersClient
import org.luxons.sevenwonders.client.SevenWondersSession
bgstack15