Skip to content
Music lavalinkIsLooping

$lavalinkIsLooping[]

Returns “true” if the music player has looping enabled (either track loop or queue loop). Returns “false” if loop mode is off, or if there is no active player. It does not tell which of the two modes is active. Takes no argument. Use $setMusicLoop to change the loop mode.

Syntax

bdfd
$lavalinkIsLooping[]

Examples

Check Loop Mode

$title[Loop Mode Status]
$description[Looping enabled: **$lavalinkIsLooping** 🔁]
$color[#AEEA00]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.