Browse Source

Merge branch 'main' into cleanup

pull/7/head
granny 4 years ago
parent
commit
59217608ac
  1. 3
      bot.py
  2. 979
      cogs/timings.py

3
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"

979
cogs/timings.py

File diff suppressed because it is too large
Loading…
Cancel
Save