On this page
Music
setMusicLoop
$setMusicLoop[]
Sets the looping mode for music playback
Syntax
$setMusicLoop[mode]
Sets the looping behavior of the music player. Three modes are available: “off” disables looping entirely; “track” repeats only the currently playing track indefinitely; “queue” repeats the entire queue once all tracks finish. Use $lavalinkIsLooping to check if looping is currently active.