From b8a908adc17ec5afe90658db3fe4906e87642b0b Mon Sep 17 00:00:00 2001 From: phinner <62483793+phinner@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:46:05 +0100 Subject: [PATCH] fix: Fix compilation error --- .../com/xpdustry/imperium/discord/commands/ServerCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imperium-discord/src/main/kotlin/com/xpdustry/imperium/discord/commands/ServerCommand.kt b/imperium-discord/src/main/kotlin/com/xpdustry/imperium/discord/commands/ServerCommand.kt index 85e05c1a..5c1bbd94 100644 --- a/imperium-discord/src/main/kotlin/com/xpdustry/imperium/discord/commands/ServerCommand.kt +++ b/imperium-discord/src/main/kotlin/com/xpdustry/imperium/discord/commands/ServerCommand.kt @@ -42,7 +42,7 @@ class ServerCommand(instances: InstanceManager) : ImperiumApplication.Listener { EmbedBuilder() .setTitle("Server List") .setDescription( - discovery.servers.joinToString(separator = "\n") { "- ${it.name}" }), + discovery.servers.values.joinToString(separator = "\n") { "- ${it.name}" }), ) @Command(["server", "player", "joins"])