LinkConfig
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.
Constructors
Properties
Link copied to clipboard
Whether to try to migrate links from a disconnected node onto a new one. This option has no effect if autoReconnect is false. If the node is trying to resume, the migration will only take place after the node gives up on resuming as per retry.
Link copied to clipboard
Whether to auto-reconnect links or not
Link copied to clipboard
amount of seconds Lavalink will wait to kill all players if the client fails to resume it's connection
Link copied to clipboard
retry strategy (See Retry and LinearRetry)