Skip to main content
Version: v2.10.2 (current)

Interface: NodeMessage

A NodeMessage represents one of the message types received from Lavalink containing node stats, player updates, or event triggers.
This interface extends NodeStats and adds additional metadata to identify the message purpose and target guild.

NodeMessage

Extends: NodeStats.

Property Type Description Optional
typePlayerEventTypeEvent type associated with this message (e.g., TrackStartEvent, TrackEndEvent, etc.).
opstring = "stats" | "playerUpdate" | "event"Opcode indicating the nature of the message.
guildIdstringThe Discord guild ID this message refers to.

⚠️ NodeMessage is not sent for all ops — only for ones related to stats, players, or events.