toggle menu
lavakord
common
switch theme
search in API
core
/
dev.schlaubi.lavakord.audio.player
/
Player
/
playTrack
play
Track
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