mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
DBL shard_id fix
This commit is contained in:
parent
f820033a8f
commit
7ac24a8981
@ -7,7 +7,7 @@ class DiscordBotsOrg(): # https://discordbots.org
|
|||||||
|
|
||||||
async def post(self, count, shard_count, shard_id):
|
async def post(self, count, shard_count, shard_id):
|
||||||
headers = {"Authorization": self.token}
|
headers = {"Authorization": self.token}
|
||||||
payload = {"server_count": count, "shard_count": shard_count, "shard_no": shard_id}
|
payload = {"server_count": count, "shard_count": shard_count, "shard_id": shard_id}
|
||||||
async with aiohttp.ClientSession() as aioclient:
|
async with aiohttp.ClientSession() as aioclient:
|
||||||
await aioclient.post(self.url, json=payload, headers=headers)
|
await aioclient.post(self.url, json=payload, headers=headers)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user