summaryrefslogtreecommitdiff
path: root/sw-bot/src/main/kotlin/org/luxons
diff options
context:
space:
mode:
Diffstat (limited to 'sw-bot/src/main/kotlin/org/luxons')
-rw-r--r--sw-bot/src/main/kotlin/org/luxons/sevenwonders/bot/SevenWondersBot.kt4
1 files changed, 4 insertions, 0 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 aff31a3f..39759fd0 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
@@ -38,6 +38,10 @@ class SevenWondersBot(
private val config: BotConfig = BotConfig(),
private val session: SevenWondersSession,
) {
+ suspend fun disconnect() {
+ session.disconnect()
+ }
+
suspend fun createGameWithBotFriendsAndAutoPlay(
gameName: String,
otherBots: List<SevenWondersBot>,
bgstack15