mirror of https://gitlab.com/litecord/litecord.git
fix formatting
This commit is contained in:
parent
b468883e2e
commit
bba48f7d0f
|
|
@ -56,7 +56,7 @@ async def api_gateway_bot():
|
||||||
from users
|
from users
|
||||||
where id = $1
|
where id = $1
|
||||||
""",
|
""",
|
||||||
user_id,
|
user_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
shards = max(int(guild_count / 1000), 1)
|
shards = max(int(guild_count / 1000), 1)
|
||||||
|
|
|
||||||
|
|
@ -816,7 +816,7 @@ class GatewayWebsocket:
|
||||||
from users
|
from users
|
||||||
where id = $1
|
where id = $1
|
||||||
""",
|
""",
|
||||||
user_id,
|
user_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
await self._connect_ratelimit(f"{str(user_id)}%{shard[0]%max_concurrency}")
|
await self._connect_ratelimit(f"{str(user_id)}%{shard[0]%max_concurrency}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue