summaryrefslogtreecommitdiff
path: root/sw-bot/src/main
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-09-07 23:36:44 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-09-08 00:39:01 +0200
commit9cb098df0ad5978b0e9aac78b4c68c9d16759f0f (patch)
treeb7c4829c163a004a012a3da13183753fe4ee32e6 /sw-bot/src/main
parentUse port 80 in docker image (diff)
downloadseven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.tar.gz
seven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.tar.bz2
seven-wonders-9cb098df0ad5978b0e9aac78b4c68c9d16759f0f.zip
Format with trailing comma
Diffstat (limited to 'sw-bot/src/main')
-rw-r--r--sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt4
1 files changed, 2 insertions, 2 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 c03ee201..8ceae2c2 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
@@ -24,13 +24,13 @@ import kotlin.time.hours
data class BotConfig(
val minActionDelayMillis: Long = 500,
val maxActionDelayMillis: Long = 1000,
- val globalTimeout: Duration = 10.hours
+ val globalTimeout: Duration = 10.hours,
)
@OptIn(ExperimentalTime::class, ExperimentalCoroutinesApi::class)
class SevenWondersBot(
private val displayName: String,
- private val botConfig: BotConfig = BotConfig()
+ private val botConfig: BotConfig = BotConfig(),
) {
private val client = SevenWondersClient()
bgstack15