diff --git a/litecord/blueprints/gateway.py b/litecord/blueprints/gateway.py index 95ce132..5a4601b 100644 --- a/litecord/blueprints/gateway.py +++ b/litecord/blueprints/gateway.py @@ -56,7 +56,7 @@ async def api_gateway_bot(): from users where id = $1 """, - user_id, + user_id, ) shards = max(int(guild_count / 1000), 1) diff --git a/litecord/gateway/websocket.py b/litecord/gateway/websocket.py index 3190024..c535c1a 100644 --- a/litecord/gateway/websocket.py +++ b/litecord/gateway/websocket.py @@ -816,7 +816,7 @@ class GatewayWebsocket: from users where id = $1 """, - user_id, + user_id, ) await self._connect_ratelimit(f"{str(user_id)}%{shard[0]%max_concurrency}")