PlayerJson

Type: Object

Parameter
Type
Description

guildId

The GuildId of the Player

options

The Player's Creation Option

voiceChannelId

The VoiceChannel Id of the Player

textChannelId

The TextChannel Id of the Player

position

The current Position (included the calculated one)

lastPosition

The last Position, lavalink stated

volume

The Client sided Volume (included the VolumeDecrementer)

lavalinkVolume

The real Volume, lavalink is outputting

repeatMode

The Repeat mode of the Player

paused

If the Player is paused / not

playing

If the Player is actually supposed to be outputting audio

createdTimeStamp

When the Player was created (on Lavalink)

filters

The Filter Data(s) of the Player (not the filter states, the actual values)

Equalizer

The Equalizer(s) of the Player

nodeId

The Node of the Player

ping

{

}

The Ping of the Player

export interface PlayerJson {
    guildId: string;
    options: PlayerOptions;
    voiceChannelId: string;
    textChannelId?: string;
    position: number;
    lastPosition: number;
    volume: number;
    lavalinkVolume: number;
    repeatMode: RepeatMode;
    paused: boolean;
    playing: boolean;
    createdTimeStamp?: number;
    filters: FilterData;
    ping: {
        ws: number;
        lavalink: number;
    }
    equalizer: EQBand[];
    nodeId?: string;
}

Last updated