From bba48f7d0f97a9dbaf3cefcae6743e76d3536eaa Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 24 Sep 2021 13:40:03 -0400 Subject: [PATCH] fix formatting --- litecord/blueprints/gateway.py | 2 +- litecord/gateway/websocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}")