playTrack

open suspend fun playTrack(track: Track, playOptionsBuilder: PlayOptions.() -> Unit = {})

Changes the currently playing track to track.


abstract suspend fun playTrack(track: String, playOptionsBuilder: PlayOptions.() -> Unit = {})

Changes the currently playing track to track.

Parameters

track

the lavalink encoded track