Table of Contents

Method ConnectAsync

Namespace
DSharpPlus.Lavalink
Assembly
DSharpPlus.Lavalink.dll

Connect to a Lavalink node.

public Task<LavalinkNodeConnection> ConnectAsync(LavalinkConfiguration config)

Parameters

config LavalinkConfiguration

Lavalink client configuration.

Returns

Task<LavalinkNodeConnection>

The established Lavalink connection.