Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LavalinkEvent

The Lavalink Event

Hierarchy

  • LavalinkEvent

Index

Properties

Optional error

error: undefined | string

the error for TrackExceptionEvent

Optional reason

reason: "FINISHED" | "LOAD_FAILED" | "STOPPED" | "REPLACED" | "CLEANUP"

Why the event was sent, only used for TrackEndEvent

Optional thresholdMs

thresholdMs: undefined | number

The buffer threshold in milliseconds

type

type: "TrackStartEvent" | "TrackEndEvent" | "TrackExceptionEvent" | "TrackStuckEvent" | "WebSocketClosedEvent"

The type of event from lavalink

Generated using TypeDoc