From 84daf8f7ac590a8054c430b0fdb6f3f1b645a7e5 Mon Sep 17 00:00:00 2001 From: Joe4evr Date: Wed, 1 Feb 2017 08:06:03 +0100 Subject: [PATCH] Fix internal handler --- src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs b/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs index 22a4c2a71..301464eda 100644 --- a/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs +++ b/src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs @@ -515,7 +515,7 @@ namespace Discord.WebSocket { var audioClient = new AudioClient(this, id); var promise = _audioConnectPromise; - audioClient.Disconnected += async ex => + audioClient.Disconnected += async (client, ex) => { //If the initial connection hasn't been made yet, reconnecting will lead to deadlocks if (!promise.Task.IsCompleted)