🪢Node
Represents a lavalink node structure
Constructor
new Node(options)
options
The Node options
Properties
state
The connection state between client and lavalink
stats
The stats of the node
versions
The versions object *
options
The node options
identifier
The node identifier
* Only works on my custom lavalink version
Methods
connect()
Connects to the lavalink node (this method is called automatically on Vulkava#start() )
disconnect()
Disconnects the lavalink node
ping()
Gets the latency between client and the lavalink node (this function only works on my custom lavalink version)
The latency value
send()
Sends a payload to the lavalink node via WebSocket
payload
getRecord()
Gets the recorded audio file
guildId
id
The audio file buffer
getAllRecords()
Gets a list with the ids of all recordings from the guild.
guildId
An array of ids
deleteRecord()
Deletes one specific recorded audio file.
guildId
id
deleteAllRecords()
Deletes all records from the guild.
guildId
Versions
LAVAPLAYER
JVM
BUILD
BUILDTIME
SPRING
KOTLIN
Last updated