Skip to content

LithiumX v1.0.8


LithiumX / PlayerUpdate

Interface: PlayerUpdate

Defined in: src/Structures/Utils.ts:340

Properties

guildId

guildId: string

Defined in: src/Structures/Utils.ts:343

The guild id of the player.


op

op: "playerUpdate"

Defined in: src/Structures/Utils.ts:341


state

state: object

Defined in: src/Structures/Utils.ts:344

connected

connected: boolean

Whether Lavalink is connected to the voice gateway.

ping

ping: number

The ping of the node to the Discord voice server in milliseconds (-1 if not connected).

position

position: number

The position of the track in milliseconds.

time

time: number

Unix timestamp in milliseconds.