@lacunahub/lavaluna.js
    Preparing search index...

    Interface APIPlayerState

    interface APIPlayerState {
        connected: boolean;
        ping: number;
        position: number;
        time: number;
    }
    Index

    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.