Method ConnectAsync
- Namespace
- DSharpPlus.Lavalink
- Assembly
- DSharpPlus.Lavalink.dll
ConnectAsync(DiscordChannel)
Connects this Lavalink node to specified Discord channel.
public Task<LavalinkGuildConnection> ConnectAsync(DiscordChannel channel)
Parameters
channel
DiscordChannelVoice channel to connect to.
Returns
- Task<LavalinkGuildConnection>
Channel connection, which allows for playback control.