From ddfed5a61055945e548e25ba95d65be2ded32dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A7=A4=EB=A6=AC?= Date: Sat, 16 May 2020 18:12:31 +0900 Subject: [PATCH] Change _handshaking variable when handshake terminate --- discord/voice_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/voice_client.py b/discord/voice_client.py index 757f78588..f0d2fc807 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -161,6 +161,7 @@ class VoiceClient: guild_id, channel_id = self.channel._get_voice_state_pair() self._handshake_complete.clear() await self.main_ws.voice_state(guild_id, None, self_mute=True) + self._handshaking = False log.info('The voice handshake is being terminated for Channel ID %s (Guild ID %s)', channel_id, guild_id) if remove: