Skip to content

Commit

Permalink
Fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 2, 2023
1 parent a6d9d67 commit 8dd0299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "dev.schlaubi.lavakord"
version = "5.1.5"
version = "5.1.6"

allprojects {
repositories {
Expand Down
3 changes: 2 additions & 1 deletion example/src/commonMain/kotlin/Lavakord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import dev.kord.core.on
import dev.kord.gateway.Intent
import dev.kord.gateway.PrivilegedIntent
import dev.kord.rest.builder.interaction.string
import dev.schlaubi.lavakord.audio.Event
import dev.schlaubi.lavakord.audio.Link
import dev.schlaubi.lavakord.audio.on
import dev.schlaubi.lavakord.kord.getLink
Expand Down Expand Up @@ -59,7 +60,7 @@ suspend fun main() {
val followUpCreator = FollowupPermittingInteractionResponseBehavior(
interaction.applicationId, interaction.token, interaction.kord, interaction.supplier
)
player.on {
player.on<Event> {
followUpCreator.createEphemeralFollowup { content = "Event: $this" }
}
listenedGuilds.add(interaction.guildId)
Expand Down

0 comments on commit 8dd0299

Please sign in to comment.