LinkConfig

interface LinkConfig

Configuration for Links and Nodes.

Inheritors

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
abstract val autoReconnect: Boolean

Whether to auto-reconnect links or not

Link copied to clipboard
abstract val resumeTimeout: Int

amount of seconds Lavalink will wait to kill all players if the client fails to resume it's connection

Link copied to clipboard
abstract val retry: Retry

retry strategy (See Retry and LinearRetry)

Link copied to clipboard
abstract val showTrace: Boolean

whether RestError.trace should be populated