Skip to content
Music setMusicLoop

$setMusicLoop[]

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.

Syntax

bdfd
$setMusicLoop[mode]

Examples

Enable Track Looping

$setMusicLoop[track]
$title[Loop Enabled 🔂]
$description[Now looping current track: **$lavalinkPlaying**]
$color[#AEEA00]
$sendMessage[]