addNode

open fun addNode(serverUri: String, password: String, name: String? = null, session: String? = null)

Adds a new node to this cluster.

Parameters

serverUri

the uri to connect to

password

the lavalink node password

name

an optional name for the node


abstract fun addNode(serverUri: Url, password: String, name: String? = null, session: String? = null)

Adds a new node to this cluster.

Parameters

serverUri

the uri to connect to

password

the lavalink node password

name

an optional name for the node

session

an optional session to resume