Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NodeEvents

Index

Properties

CONNECTED

CONNECTED: Node

Emitted when the node connects to the lavalink server.

CREATED

CREATED: Node

Emitted when the node is created.

DESTROYED

DESTROYED: { node: Node; reason: string }

Emitted when the node is destroyed.

Type declaration

  • node: Node
  • reason: string

DISCONNECTED

DISCONNECTED: { code: number; node: Node; reason: string }

Emitted when the node disconnects from the lavalink server.

Type declaration

  • code: number
  • node: Node
  • reason: string

ERROR

ERROR: { error: Error; node: Node }

Emitted when the node encounters an error.

Type declaration

  • error: Error
  • node: Node

RAW

RAW: { node: Node; payload: any }

Emitted when the node receives a payload from the server.

Type declaration

  • node: Node
  • payload: any

RECONNECTING

RECONNECTING: Node

Emitted when the node is attempting to reconnect.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method

Generated using TypeDoc