How to connect node?
How do i connect lavalink node with poru?
You have to pass array of nodes as a second argument of poru class's constructor
// Some code
//here client is your discord library
let nodes = [{
name:"MY_SUPER_NODE"
host:"69.69.69.69"
port:143,
password:"YouAreMine"
}]
new Poru(client,nodes)
//In order to connect node you must have to init poru in ready event
Last updated
Was this helpful?