Method ConnectAsync
- Namespace
- DSharpPlus.VoiceNext
- Assembly
- DSharpPlus.VoiceNext.dll
ConnectAsync(DiscordChannel)
Create a VoiceNext connection for the specified channel.
public Task<VoiceNextConnection> ConnectAsync(DiscordChannel channel)
Parameters
channel
DiscordChannelChannel to connect to.
Returns
- Task<VoiceNextConnection>
VoiceNext connection for this channel.