We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d9668 commit 7a5ea13Copy full SHA for 7a5ea13
src/main/kotlin/dev/arbjerg/lavalink/client/IUpdatablePlayer.kt
@@ -24,6 +24,10 @@ interface IUpdatablePlayer {
24
*
25
* @return The updated builder, useful for chaining
26
*/
27
+ @Deprecated(
28
+ message = "Just call .build on the builder",
29
+ replaceWith = ReplaceWith("setTrack(update.build())")
30
+ )
31
fun updateTrack(update: TrackUpdateBuilder): PlayerUpdateBuilder {
32
return updateTrack(update.build())
33
}
0 commit comments