DefaultLoadBalancer

Constructors

Link copied to clipboard
constructor(client: LavalinkClient)

Functions

Link copied to clipboard
open override fun addPenaltyProvider(penaltyProvider: IPenaltyProvider)

Adds a penalty provider to the load balancer.

Link copied to clipboard
open override fun removePenaltyProvider(penaltyProvider: IPenaltyProvider)

Removes a penalty provider from the load balancer.

Link copied to clipboard
open override fun selectNode(region: VoiceRegion?): LavalinkNode

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