From 7ac24a89813014f4a43dee6f89bc5e3815ad2e58 Mon Sep 17 00:00:00 2001 From: "Jeremy \"EndenDragon\" Zhang" Date: Sun, 22 Mar 2020 19:20:45 -0700 Subject: [PATCH] DBL shard_id fix --- discordbot/titanembeds/poststats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discordbot/titanembeds/poststats.py b/discordbot/titanembeds/poststats.py index f6faa5d..3f927ca 100644 --- a/discordbot/titanembeds/poststats.py +++ b/discordbot/titanembeds/poststats.py @@ -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) \ No newline at end of file + await aioclient.post(self.url, json=payload, headers=headers)