hoshimi
    Preparing search index...

    Interface LavalinkPlayer

    The player response from the Lavalink REST API.

    interface LavalinkPlayer {
        filters: FilterSettings;
        guildId: string;
        paused: boolean;
        state: LavalinkPlayerState;
        track?: LavalinkTrack;
        voice: {
            channelId: string;
            endpoint: string;
            sessionId: string;
            token: string;
        };
        volume: number;
    }
    Index

    Properties

    The filter options applied to the player.

    guildId: string

    The guild ID associated with the player.

    paused: boolean

    Whether the player is paused.

    The state of the player.

    The track currently being played.

    voice: { channelId: string; endpoint: string; sessionId: string; token: string }

    The voice connection details.

    Type Declaration

    • channelId: string

      The voice channel id.

    • endpoint: string

      The voice server endpoint.

    • sessionId: string

      The voice server session id.

    • token: string

      The voice server token.

    volume: number

    The volume of the player.