Table of Contents

Method ConnectAsync

Namespace
DSharpPlus.Lavalink
Assembly
DSharpPlus.Lavalink.dll

Connects to this voice channel using Lavalink.

[Obsolete("DSharpPlus.Lavalink is deprecated for removal.", true)]
public static Task ConnectAsync(this DiscordChannel channel, LavalinkNodeConnection node)

Parameters

channel DiscordChannel

Channel to connect to.

node LavalinkNodeConnection

Lavalink node to connect through.

Returns

Task

If successful, the Lavalink client.