diff options
| author | 매리 <[email protected]> | 2020-05-16 18:12:31 +0900 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-05-23 21:56:40 -0400 |
| commit | ddfed5a61055945e548e25ba95d65be2ded32dc2 (patch) | |
| tree | f73a9c61b2a125fc87d246450202eb3ece6e4f2a | |
| parent | Add spoiler keyword argument to Attachment.to_file (diff) | |
| download | discord.py-ddfed5a61055945e548e25ba95d65be2ded32dc2.tar.xz discord.py-ddfed5a61055945e548e25ba95d65be2ded32dc2.zip | |
Change _handshaking variable when handshake terminate
| -rw-r--r-- | discord/voice_client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index 757f7858..f0d2fc80 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: |