From 0e6be10d7b9f9919f662e4e84c4a44941879e5ab Mon Sep 17 00:00:00 2001 From: raatty Date: Sat, 8 Dec 2018 18:37:23 +1300 Subject: [PATCH] try fix discord bots gg's changes --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 83e151b..d2875ad 100644 --- a/bot.py +++ b/bot.py @@ -123,9 +123,9 @@ async def on_ready(): await bot.change_presence(game=discord.Game(name='#!adv', type=2)) await bot.send_message(discord.Object(id="408902143119196161"), "**Im ready!** " + str(datetime.datetime.now())) - requests.post('https://bots.discord.pw/api/bots/410356358836256768/stats', + requests.post('https://discord.bots.gg/api/v1/bots/410356358836256768/stats', headers={"Authorization": os.getenv('BOTS_PW_AUTH')}, - json={"server_count": len(bot.servers)}) + json={"guildCount": len(bot.servers)}) await bot.send_message(discord.Object(id="408902143119196161"), f'**Connected to {len(bot.servers)} servers**')