Skip to main content
Version: v2.9.0

Interface: LavaPlayer

Represents the full state of an active LavaPlayer on a Node.

Property Type Description Optional
guildIdstringThe ID of the guild this player belongs to.
trackTrackDataThe currently playing track.
volumenumberThe current playback volume (0–1000 scale).
pausedbooleanWhether the player is currently paused.
statestateInternal playback state (time, connection, etc.).
voicevoiceVoice connection details required for streaming.
filtersRecord<string, unknown>Audio filters currently applied to playback.

state

State object containing internal playback state (time, position, etc.).

Property Type Description Optional
timenumberThe current time in milliseconds since the player was created.
positionnumberThe current position in milliseconds of the track.
connectedbooleanWhether the player is currently connected to a voice channel.
pingnumberThe current ping of the player.

voice

Voice connection details required for streaming.

Property Type Description Optional
tokenstringThe authentication token for the voice connection.
endpointstringThe endpoint for the voice connection.
sessionIdstringThe session ID for the voice connection.