diff --git a/litecord/gateway/gateway.py b/litecord/gateway/gateway.py index e9c4a03..fe3786f 100644 --- a/litecord/gateway/gateway.py +++ b/litecord/gateway/gateway.py @@ -54,7 +54,7 @@ async def websocket_handler(app, ws, url): async with app.app_context(): gws = GatewayWebsocket( - ws, v=gw_version, encoding=gw_encoding, compress=gw_compress + ws, v=int(gw_version), encoding=gw_encoding, compress=gw_compress ) # this can be run with a single await since this whole coroutine