Skip to content
Music lavalinkPlaying

$lavalinkPlaying[]

Returns the title of the current track from the Lavalink music player. Takes no argument. If there is no active player or no current track, this returns an empty string. Use this in combination with other Lavalink info functions to build a “now playing” display.

Syntax

bdfd
$lavalinkPlaying[]

Examples

Now Playing Embed with Buttons

$title[Now Playing 🎶]
$description[Title: **$lavalinkPlaying**\nArtist: **$lavalinkAuthor**\nDuration: `$lavalinkPosition / $lavalinkDuration`]
$color[#AEEA00]
$addButton[no;music_pause;Pause;secondary;⏸️]
$addButton[no;music_skip;Skip;secondary;⏭️]

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.