HarmonyLink Documentation

    PlayerState

    harmonylinkDocs


    harmonylink / PlayerState

    Interface: PlayerState

    Properties

    connected

    connected: boolean

    Whether Lavalink is connected to the voice gateway

    Defined in

    src/typings/player/index.ts:40


    ping

    ping: number

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

    Defined in

    src/typings/player/index.ts:45


    position

    position: number

    The position of the track in milliseconds

    Defined in

    src/typings/player/index.ts:35


    time

    time: number

    Unix timestamp in milliseconds

    Defined in

    src/typings/player/index.ts:30