mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 13:32:57 +00:00 
			
		
		
		
	Attempt resume when we receive a 1001.
This commit is contained in:
		| @@ -337,7 +337,7 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol): | ||||
|             del self._dispatch_listeners[index] | ||||
|  | ||||
|     def _can_handle_close(self, code): | ||||
|         return code not in (1000, 1001, 4004) | ||||
|         return code not in (1000, 4004) | ||||
|  | ||||
|     @asyncio.coroutine | ||||
|     def poll_event(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user