diff --git a/litecord/gateway/gateway.py b/litecord/gateway/gateway.py index 5d36922..98665d7 100644 --- a/litecord/gateway/gateway.py +++ b/litecord/gateway/gateway.py @@ -38,7 +38,7 @@ async def websocket_handler(app, ws, url): except (KeyError, IndexError): gw_encoding = "json" - if gw_version not in ("6", "7"): + if gw_version not in ("6", "7", "8"): return await ws.close(1000, "Invalid gateway version") if gw_encoding not in ("json", "etf"):