diff --git a/discord/gateway.py b/discord/gateway.py index 01e6f7b1f..91f8e0789 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -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):