mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Fix bad voice state when moving to a voice channel without permissions
This commit is contained in:
@ -355,8 +355,7 @@ class VoiceClient(VoiceProtocol):
|
||||
asyncio.TimeoutError
|
||||
The move did not complete in time, but may still be ongoing.
|
||||
"""
|
||||
await self._connection.move_to(channel)
|
||||
await self._connection.wait_async(timeout)
|
||||
await self._connection.move_to(channel, timeout)
|
||||
|
||||
def is_connected(self) -> bool:
|
||||
"""Indicates if the voice client is connected to voice."""
|
||||
|
Reference in New Issue
Block a user