Music
lavalinkPlaying
$lavalinkPlaying[]
Returns the title of the currently playing track
Syntax
$lavalinkPlaying[]
Return Value
string
The title of the currently playing track, or an empty string if nothing is playing
Returns the title of the currently playing track from the Lavalink music player. If no track is playing, this returns an empty string. Use this in combination with other Lavalink info functions to build a “now playing” display.
Examples
Show the currently playing track
$sendMessage[Now playing: $lavalinkPlaying[]]
Display now playing in an embed
$title[Now Playing]
$description[🎵 $lavalinkPlaying[]]
$color[#1DB954]
Check if a track is playing
$if[$lavalinkPlaying[]!=]
$sendMessage[Currently playing: $lavalinkPlaying[]]
$else
$sendMessage[No track is currently playing.]
$endif