Closing session after updating stats to discord.bots.gg

pull/8/head
sgoudham 4 years ago
parent 46d6ad3474
commit b1981ee5a8

@ -98,6 +98,7 @@ async def post_bot_stats():
data={"guildCount": {len(client.guilds)}, data={"guildCount": {len(client.guilds)},
"Content-Type": "application/json"}, "Content-Type": "application/json"},
headers={'Authorization': disc_bots_gg_auth}) headers={'Authorization': disc_bots_gg_auth})
await session.close()
@tasks.loop(minutes=10, reconnect=True) @tasks.loop(minutes=10, reconnect=True)

Loading…
Cancel
Save