PlayerJSON
The JSON representation of the player.
Signature
export interface PlayerJSONProperties
19Methods
0No methods.
Properties
guildId: string;The guild id of the player.
@type{string}
volume: number;The volume of the player.
@type{number}
selfDeaf: boolean;The self deaf state of the player.
@type{boolean}
selfMute: boolean;The self mute state of the player.
@type{boolean}
voice: Nullable<LavalinkPlayerVoice>;The voice settings for the player.
@type{Nullable<LavalinkPlayerVoice>}
loop: LoopMode;The loop mode of the player.
@type{LoopMode}
options: PlayerOptions;The options for the player.
@type{PlayerOptions}
paused: boolean;The paused state of the player.
@type{boolean}
playing: boolean;The playing state of the player.
@type{boolean}
voiceId?: string;The voice channel id of the player.
@type{string}
textId?: string;The text channel id of the player.
@type{string | undefined}
lastPosition: number;The last position received from Lavalink.
@type{number}
lastPositionUpdate: number | null;The timestamp when the last position change update happened.
@type{number | null}
position: number;The current calculated position of the player.
@type{number}
createdTimestamp: number;The timestamp when the player was created.
@type{number}
ping: number;The ping of the player.
@type{number}
queue: QueueJSON;The queue of the player.
@type{QueueJSON}
node: NodeJSON;The node of the player.
@type{NodeJSON}
filters: FilterSettings;The filter settings of the player.
@type{FilterSettings}