mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 05:23:03 +00:00 
			
		
		
		
	Add more close codes that can't be handled for reconnecting.
This commit is contained in:
		| @@ -517,7 +517,7 @@ class DiscordWebSocket: | ||||
|  | ||||
|     def _can_handle_close(self): | ||||
|         code = self._close_code or self.socket.close_code | ||||
|         return code not in (1000, 4004, 4010, 4011) | ||||
|         return code not in (1000, 4004, 4010, 4011, 4012, 4013, 4014) | ||||
|  | ||||
|     async def poll_event(self): | ||||
|         """Polls for a DISPATCH event and handles the general gateway loop. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user