Purpur
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
bot.py
|
@ -265,7 +265,7 @@ async def on_raw_reaction_add(payload): |
|
|
|
|
|
|
|
|
@bot.command() |
|
|
@bot.command() |
|
|
async def ping(ctx): |
|
|
async def ping(ctx): |
|
|
await ctx.send(f'Your ping is {round(bot.latency * 1000)}ms') |
|
|
|
|
|
|
|
|
await ctx.send(f'Bot ping is {round(bot.latency * 1000)}ms') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@bot.command(name="react", pass_context=True) |
|
|
@bot.command(name="react", pass_context=True) |
|
@ -289,7 +289,6 @@ 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" |
|
|