Browse Source

SocketVoiceChannel overload update

pull/1057/head
NovusTheory 7 years ago
parent
commit
4b9a7ddd4b
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      src/Discord.Net.WebSocket/Entities/Channels/SocketVoiceChannel.cs

+ 0
- 5
src/Discord.Net.WebSocket/Entities/Channels/SocketVoiceChannel.cs View File

@@ -40,11 +40,6 @@ namespace Discord.WebSocket
public Task ModifyAsync(Action<VoiceChannelProperties> func, RequestOptions options = null)
=> ChannelHelper.ModifyAsync(this, Discord, func, options);

public async Task<IAudioClient> ConnectAsync(Action<IAudioClient> configAction = null)
{
return await Guild.ConnectAudioAsync(Id, false, false, configAction, false).ConfigureAwait(false);
}

public async Task<IAudioClient> ConnectAsync(Action<IAudioClient> configAction = null, bool external = false)
{
return await Guild.ConnectAudioAsync(Id, false, false, configAction, external).ConfigureAwait(false);


Loading…
Cancel
Save