fix formatting

This commit is contained in:
spiral 2021-09-24 13:40:03 -04:00
parent b468883e2e
commit bba48f7d0f
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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}")