lavalink_rs.model
API Documentation
NodeDistributionStrategy
new
sharded
round_robin
main_fallback
lowest_load
highest_free_memory
custom
built with
pdoc
lavalink_rs
.
model
.client
class
NodeDistributionStrategy
:
def
new
(
) ->
Self
:
def
sharded
(
) ->
Self
:
def
round_robin
(
) ->
Self
:
def
main_fallback
(
) ->
Self
:
def
lowest_load
(
) ->
Self
:
def
highest_free_memory
(
) ->
Self
:
def
custom
(
func
:
Callable
[[
LavalinkClient
,
Union
[
GuildId
,
int
]],
Awaitable
[
int
]]
) ->
Self
: