Skip to main content
Version: v2.10.0

Interface: LavaPlayer

Represents the full state of an active player on a Lavalink node.

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

state

Internal playback state reported by the Lavalink node.

Property Type Description Optional
timenumberUnix timestamp in milliseconds of the last state update.
positionnumberCurrent playback position within the track, in milliseconds.
connectedbooleanWhether the node is currently connected to Discord's voice gateway.
pingnumberRound-trip latency to the voice server in milliseconds.