interface PlayerState {
    connected: boolean;
    ping: number;
    position: number;
    time: number;
}

Properties

connected: boolean

Whether Lavalink is connected to the voice gateway

ping: number

The ping of the node to the Discord voice server in milliseconds (-1 if not connected)

position: number

The position of the track in milliseconds

time: number

Unix timestamp in milliseconds