Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface PlayerUpdateState
import { type PlayerUpdateState } from "https://deno.land/x/lavalink_types@2.0.6/mod.ts";

Properties

time: number

Unix timestamp (in milliseconds).

optional
position: number

Current track position (in milliseconds). Omitted when not playing anything/

connected: boolean

Whether the player is connected to a voice channel.