On this page
Music lavalinkIsLooping

$lavalinkIsLooping[]

Returns "true" if looping is currently enabled, "false" otherwise

Syntax
$lavalinkIsLooping[]

Returns “true” if the music player has looping enabled (either track loop or queue loop). Returns “false” if loop mode is off. Use $setMusicLoop to change the loop mode.