Browse Source

Updated botpy

pull/1/head
elliot 3 years ago
parent
commit
4344a3bad6
  1. 4
      bot.py

4
bot.py

@ -103,11 +103,11 @@ async def on_message(message):
@bot.command() @bot.command()
async def ping(ctx): async def ping(ctx):
await ctx.send(f'Birdflop bot ping is {round(bot.latency * 1000)}ms')
await ctx.send(f'Bot ping is {round(bot.latency * 1000)}ms')
@bot.command() @bot.command()
async def invite(ctx): async def invite(ctx):
await ctx.send('Invite me with this link:\nhttps://discord.com/oauth2/authorize?client_id=787929894616825867&permissions=0&scope=bot')
await ctx.send('Invite me with this link:\n-not setup-')
@bot.command(name="react", pass_context=True) @bot.command(name="react", pass_context=True)
@has_permissions(administrator=True) @has_permissions(administrator=True)

Loading…
Cancel
Save