mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Change _handshaking variable when handshake terminate
This commit is contained in:
parent
a22d38d004
commit
ddfed5a610
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user