Skip to main content
Version: v2.10.4 (deprecated)

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.