summaryrefslogtreecommitdiff
path: root/sw-bot/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-08-20 15:36:49 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-08-20 16:08:49 +0200
commit7780d36b540814018b468884d03025d464cd5205 (patch)
tree21ac4bb1acf1b126bf805f55555d10a25aa420db /sw-bot/src
parentFix style & sort imports (diff)
downloadseven-wonders-7780d36b540814018b468884d03025d464cd5205.tar.gz
seven-wonders-7780d36b540814018b468884d03025d464cd5205.tar.bz2
seven-wonders-7780d36b540814018b468884d03025d464cd5205.zip
Upgrade ktlint and re-enable import order check
Diffstat (limited to 'sw-bot/src')
-rw-r--r--sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt5
1 files changed, 4 insertions, 1 deletions
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