selectNode

open override fun selectNode(region: VoiceRegion?): LavalinkNode

Selects a node based on the criteria of the load balancer.

Return

The best node that matches the criteria

Parameters

region

A voice region may be provided to filter on the closest region to this node

Throws

when no nodes are available