Browse Source

Merge pull request #16 from Frerduro/patch-1

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

4
bot.py

@ -69,8 +69,8 @@ async def ping(ctx):
await ctx.send(f'Birdflop bot ping is {round(bot.latency * 1000)}ms') await ctx.send(f'Birdflop bot ping is {round(bot.latency * 1000)}ms')
@bot.command() @bot.command()
async def ping(ctx):
await ctx.send('Invite me with this link:/nhttps://discord.com/oauth2/authorize?client_id=787929894616825867&permissions=0&scope=bot')
async def invite(ctx):
await ctx.send('Invite me with this link:\nhttps://discord.com/oauth2/authorize?client_id=787929894616825867&permissions=0&scope=bot')
@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