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()
|
guild_id, channel_id = self.channel._get_voice_state_pair()
|
||||||
self._handshake_complete.clear()
|
self._handshake_complete.clear()
|
||||||
await self.main_ws.voice_state(guild_id, None, self_mute=True)
|
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)
|
log.info('The voice handshake is being terminated for Channel ID %s (Guild ID %s)', channel_id, guild_id)
|
||||||
if remove:
|
if remove:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user