Skip to main content
Version: v2.10.1

Node Events

These events are emitted when a Node emits its related events.

NodeConnect

Emitted when a node successfully connects to the manager.

Property Type Description Optional
nodeNodeNode this event applies to.

NodeCreate

Emitted when a node is created.

Property Type Description Optional
nodeNodeNode this event applies to.

NodeDestroy

Emitted when a node is destroyed.

Property Type Description Optional
nodeNodeNode this event applies to.

NodeDisconnect

Emitted when a node disconnects from the manager.

Property Type Description Optional
nodeNodeNode this event applies to.
reason{code?: number | undefined; reason?: string | undefined}Reason for the disconnection.

NodeError

Emitted when a node encounters an error.

Property Type Description Optional
nodeNodeNode this event applies to.
errorErrorError this event applies to.

NodeRaw

Emitted when a node emits a raw event.

Property Type Description Optional
payloadunknownPayload provided by Lavalink.

NodeReconnect

Emitted when a node reconnects to the manager.

Property Type Description Optional
nodeNodeNode this event applies to.

RestoreComplete

Emitted when the manager has restored all of its players on a node.

Property Type Description Optional
nodeNodeNode this event applies to.