Method ConnectAsync
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
ConnectAsync(DiscordChannel, LavalinkNodeConnection)
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
DiscordChannelChannel to connect to.
node
LavalinkNodeConnectionLavalink node to connect through.
Returns
- Task
If successful, the Lavalink client.