From b2f2c06e388e150d22df94cd9d9511ece92ab178 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Fri, 8 Nov 2024 16:41:09 +0100 Subject: [PATCH] Fix compiler error --- .../src/main/kotlin/dev/kordex/core/utils/_Intents.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/kord-extensions/src/main/kotlin/dev/kordex/core/utils/_Intents.kt b/kord-extensions/src/main/kotlin/dev/kordex/core/utils/_Intents.kt index 31436d7d10..71e5b22934 100644 --- a/kord-extensions/src/main/kotlin/dev/kordex/core/utils/_Intents.kt +++ b/kord-extensions/src/main/kotlin/dev/kordex/core/utils/_Intents.kt @@ -27,6 +27,7 @@ public fun Intent.getName(): String = when (this) { is Intent.GuildMessageTyping -> "Guild Message Typing" is Intent.GuildMessages -> "Guild Messages" is Intent.GuildModeration -> "Guild Moderation" + is Intent.GuildExpressions -> "Guild Expressions" is Intent.GuildPresences -> "Guild Presences" is Intent.GuildScheduledEvents -> "Guild Scheduled Events" is Intent.GuildVoiceStates -> "Guild Voice States"