Browse Source

Update bot.py

master
Purpur 4 years ago
committed by GitHub
parent
commit
94eabc4256
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      bot.py

3
bot.py

@ -7,6 +7,8 @@ import sys
from discord.ext import commands, tasks from discord.ext import commands, tasks
from discord.ext.commands import has_permissions, MissingPermissions from discord.ext.commands import has_permissions, MissingPermissions
from dotenv import load_dotenv from dotenv import load_dotenv
import aiohttp
import asyncio
# import subprocess # import subprocess
@ -284,6 +286,7 @@ async def updater():
for client in data['users']: for client in data['users']:
i += 1 i += 1
member = guild.get_member(client['discord_id']) member = guild.get_member(client['discord_id'])
print(client['discord_id'])
if member: if member:
api_key = client['client_api_key'] api_key = client['client_api_key']
url = "https://panel.birdflop.com/api/client" url = "https://panel.birdflop.com/api/client"

Loading…
Cancel
Save