mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-12 17:11:20 +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):
|
||||
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:
|
||||
await aioclient.post(self.url, json=payload, headers=headers)
|
||||
|
||||
@ -20,4 +20,4 @@ class BotsDiscordPw(): # https://bots.discord.pw/
|
||||
headers = {"Authorization": self.token}
|
||||
payload = {"server_count": count, "shard_count": shard_count, "shard_id": shard_id}
|
||||
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