Method ConnectAsync
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
ConnectAsync(LavalinkConfiguration)
Connect to a Lavalink node.
public Task<LavalinkNodeConnection> ConnectAsync(LavalinkConfiguration config)
Parameters
config
LavalinkConfigurationLavalink client configuration.
Returns
- Task<LavalinkNodeConnection>
The established Lavalink connection.