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

    Interface UpdatePlayer

    interface UpdatePlayer {
        encodedTrack?: string;
        endTime?: number;
        filters?: Filters;
        identifier?: string;
        paused?: boolean;
        position?: number;
        track?: UpdatePlayerTrack;
        voice?: VoiceState;
        volume?: number;
    }
    Index

    Properties

    encodedTrack?: string

    The base64 encoded track to play. null stops the current track.

    endTime?: number

    The track end time in milliseconds (must be > 0). null resets this if it was set previously.

    filters?: Filters

    The new filters to apply. This will override all previously applied filters.

    identifier?: string

    The identifier of the track to play.

    paused?: boolean

    Whether the player is paused.

    position?: number

    The track position in milliseconds.

    Specification for a new track to load, as well as user data to set.

    voice?: VoiceState

    Information required for connecting to Discord.

    volume?: number

    The player volume, in percentage, from 0 to 1000.