The complete address of the node
The API version of the node
Whether or not to automatically try reconnecting to the node
Whether or not the node is fully connected
The address of the node
The password of the node
The port of the node
The geogrpahical region the node belongs to
This is used for regional node selection, this can be left out if this functionality is undesired
The resumption token to use when reconnecting to the node
How may reconnection attempts were tried
The number of shards the connecting client has
Statistics of the node
Will be undefined until the node has been ready for at least a minute
The ID of the connecting client
Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Connect to the node
Destroy connection to the node
Instruct the node to load new tracks
The search query, supports Lavalink specific modifiers such as ytsearch
and scsearch
The response from the node
Fired when the node is considered ready to accept new players
Fired when a breaking error is encoutered, either with the node or with processing
Fired when the node broadcasts a message
Fired the node disconnects
Fired the node confirms it resumed a pre-existing connection
Send data to the node
The data to send
Returns a list listener for a specific emitter event name.
Generated using TypeDoc
Represents a Lavalink node