A unique name for this node
The User Id of your Discord Bot
OptionalstatsInterval at which this node dispatches it's stats.
Default: 60_000
OptionalhighestAn assumption of this node's highest possible latency.
Default: 2_000
OptionalreconnectNumber of milliseconds to wait between each reconnect.
Default: 10_000
OptionalreconnectNumber of reconnects to attempt on unusual disconnect.
Default: 3
OptionalhandshakeNumber of milliseconds to allow for initial handshake.
Default: 5_000
URL of your lavalink server
Password of your lavalink server
OptionalversionThe semver major of your lavalink server.
Default: 4
OptionaluserThe value to set the User-Agent header to.
Default: $client/$version ($repository)
OptionalsessionId of the lavalink session you want to interact with (if any)
OptionalstackWhether to include stack trace from lavalink server on error.
Default: false
OptionalretryNumber of retries to allow for timed out requests.
Default: 0
OptionalrequestNumber of milliseconds to allow per request.
Default: 10_000
Options for creating a node