API reference
Method ConnectAsync
- Namespace
- DisCatSharp.Voice
- Assembly
- DisCatSharp.Voice.dll
ConnectAsync(DiscordChannel)
Connects to this voice channel using Voice.
public static Task<VoiceConnection> ConnectAsync(this DiscordChannel channel)
Parameters
channelDiscordChannelChannel to connect to.
Returns
- Task<VoiceConnection>
If successful, the Voice connection.