From 94eabc42561d5b0fe85ff994e53a516f668dbfbf Mon Sep 17 00:00:00 2001 From: Purpur <43528123+Pemigrade@users.noreply.github.com> Date: Fri, 8 Jan 2021 04:44:16 -0600 Subject: [PATCH] Update bot.py --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 429ab8b..0d3146a 100644 --- a/bot.py +++ b/bot.py @@ -7,6 +7,8 @@ import sys from discord.ext import commands, tasks from discord.ext.commands import has_permissions, MissingPermissions from dotenv import load_dotenv +import aiohttp +import asyncio # import subprocess @@ -284,6 +286,7 @@ async def updater(): for client in data['users']: i += 1 member = guild.get_member(client['discord_id']) + print(client['discord_id']) if member: api_key = client['client_api_key'] url = "https://panel.birdflop.com/api/client" @@ -374,7 +377,7 @@ async def updater(): file = open('modified_servers.json', 'r') modified_servers = json.load(file) file.close() - + i = -1 for server in servers_json_response['data']: