aboutsummaryrefslogtreecommitdiff
path: root/discord/gateway.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/gateway.py')
-rw-r--r--discord/gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/gateway.py b/discord/gateway.py
index f2dc7fcb..21f4fc66 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -744,7 +744,7 @@ class DiscordVoiceWebSocket(websockets.client.WebSocketClientProtocol):
async def poll_event(self):
try:
- msg = await asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
+ msg = await asyncio.wait_for(self.recv(), timeout=30.0)
await self.received_message(json.loads(msg))
except websockets.exceptions.ConnectionClosed as exc:
raise ConnectionClosed(exc, shard_id=None) from exc