diff --git a/build.gradle.kts b/build.gradle.kts index d14c6276..36c6a813 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { } group = "dev.schlaubi.lavakord" -version = "6.3.0" +version = "6.3.1" allprojects { repositories { diff --git a/plugins/sponsorblock/src/commonMain/kotlin/rest/Route.kt b/plugins/sponsorblock/src/commonMain/kotlin/rest/Route.kt index 7cad2478..e5f1c748 100644 --- a/plugins/sponsorblock/src/commonMain/kotlin/rest/Route.kt +++ b/plugins/sponsorblock/src/commonMain/kotlin/rest/Route.kt @@ -7,20 +7,20 @@ import io.ktor.resources.* @Resource("sponsorblock") public data class SponsorblockRoute(val player: V4Api.Sessions.Specific.Players.Specific) { - public constructor(guildId: ULong, sessionId: String, noReplace: Boolean? = false) : this( + public constructor(guildId: ULong, sessionId: String) : this( V4Api.Sessions.Specific.Players.Specific( guildId, - noReplace, + null, V4Api.Sessions.Specific.Players(sessionId) ) ) @Resource("categories") public data class Categories(val parent: SponsorblockRoute) { - public constructor(guildId: ULong, sessionId: String, noReplace: Boolean? = false) : this( + public constructor(guildId: ULong, sessionId: String) : this( SponsorblockRoute( guildId, - sessionId, noReplace + sessionId ) ) }