Interface: NodeMessage
A
NodeMessagerepresents one of the message types received from Lavalink containing node stats, player updates, or event triggers.
This interface extendsNodeStatsand 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. guildIdstring The Discord guild ID this message refers to.
⚠️
NodeMessageis not sent for all ops — only for ones related to stats, players, or events.