1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

"Fixed invite link command"

This commit is contained in:
Myned 2017-09-24 15:30:30 -04:00
parent 0ec0293675
commit 7259fb1766

View file

@ -49,7 +49,7 @@ async def die(ctx):
@commands.is_owner()
async def invite(ctx):
try:
await ctx.send('🔗 ' + utils.oauth_url(config['client_id'], permissions=config['permissions'], guild=ctx.message.guild))
await ctx.send('🔗 https://discordapp.com/oauth2/authorize?&client_id=' + str(config['client_id']) + '&scope=bot&permissions=' + str(config['permissions']))
except Exception:
await ctx.send(exc.base)
traceback.print_exc(limit=1)