🪢Node
Represents a lavalink node structure
Constructor
new Node(options)
Parameter
Description
Type
Properties
* 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)
send()
Sends a payload to the lavalink node via WebSocket
Parameter
Description
payload
Object The payload object
getRecord()
Gets the recorded audio file
getAllRecords()
Gets a list with the ids of all recordings from the guild.
Parameter
Description
guildId
String The guild id
deleteRecord()
Deletes one specific recorded audio file.
deleteAllRecords()
Deletes all records from the guild.
Parameter
Description
guildId
String The guild id
Versions
Last updated