Skip to content

Lyrics ​

Overview ​

PropertiesMethods
nodeget
playersubscribe
unsubscribe

Properties ​

• node ​

The node instance associated with the player.

TypeValue
Nodeplayer.node

• player ​

The player instance associated with this lyrics handler.

Type
Player

Methods ​

• get() ​

Retrieves lyrics for the currently playing track.

Returns: Promise<LyricsResult>

Throws: RangeError - If the LavaLyrics plugin is not installed.

ParametertypeDefault
Optional skipTrackSourcebooleanfalse

• subscribe() ​

Subscribes to lyrics updates for the current player.

Returns: Promise<unknown>

Throws: RangeError - If the LavaLyrics plugin is not installed.

• unsubscribe() ​

Unsubscribes from lyrics updates for the current player.

Returns: Promise<unknown>

Throws: RangeError - If the LavaLyrics plugin is not installed.