mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix more deprecation warnings
This commit is contained in:
1 parent
1b040fd4ba
commit
4ef0fb0d95
3 files changed
+6
-3
No files matched your search
+1
-1
@@ -389,7 +389,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
|
||||
|
||||
if op == self.INVALIDATE_SESSION:
|
||||
if data is True:
|
||||
await asyncio.sleep(5.0, loop=self.loop)
|
||||
await asyncio.sleep(5.0)
|
||||
await self.close()
|
||||
raise ResumeWebSocket(self.shard_id)
|
||||
|
||||
|
||||
Reference in new issue
Block a user