Discolink
    Preparing search index...

    Interface PlayerUpdateRequestBody

    interface PlayerUpdateRequestBody {
        track?: PlayerUpdateTrackData<EmptyObject> | null;
        position?: number;
        endTime?: number;
        volume?: number;
        paused?: boolean;
        filters?: Filters<EmptyObject>;
        voice?: APIVoiceState;
    }
    Index

    Properties

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

    position?: number

    The track position in milliseconds

    endTime?: number

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

    volume?: number

    The player volume, in percentage, from 0 to 1000

    paused?: boolean

    Whether the player is paused

    filters?: Filters<EmptyObject>

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

    Information required for connecting to Discord