MutableLavaKordOptions

data class MutableLavaKordOptions(val loadBalancer: MutableLavaKordOptions.LoadBalancingConfig = LoadBalancingConfig(), val link: MutableLavaKordOptions.LinkConfig = LinkConfig(), val plugins: MutableLavaKordOptions.PluginsConfig = PluginsConfig()) : LavaKordOptions

Mutable implementation of LavaKordOptions.

Constructors

Link copied to clipboard
constructor(loadBalancer: MutableLavaKordOptions.LoadBalancingConfig = LoadBalancingConfig(), link: MutableLavaKordOptions.LinkConfig = LinkConfig(), plugins: MutableLavaKordOptions.PluginsConfig = PluginsConfig())

Types

Link copied to clipboard
data class LinkConfig(var autoReconnect: Boolean = true, var autoMigrateOnDisconnect: Boolean = true, var resumeTimeout: Int = 60, var retry: Retry = LinearRetry(2.seconds, 60.seconds, 10), val showTrace: Boolean = false) : LavaKordOptions.LinkConfig

Mutable implementation of LavaKordOptions.LinkConfig.

Link copied to clipboard
data class LoadBalancingConfig(val penaltyProviders: MutableList<PenaltyProvider> = mutableListOf()) : MutableList<PenaltyProvider> , LavaKordOptions.LoadBalancingConfig

Mutable implementation of LavaKordOptions.LoadBalancingConfig.

Link copied to clipboard
data class PluginsConfig(var plugins: MutableList<Plugin> = mutableListOf()) : LavaKordOptions.PluginsConfig

Configuration for plugins.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Makes this configuration immutable.