createRestNode

abstract fun createRestNode(serverUri: Url, password: String, name: String? = null): RestNode

Creates and returns a new rest-only node.

Parameters

serverUri

the uri to connect to

password

the lavalink node password

name

a optional name for the node