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

Merge branch 'master' into dev

This commit is contained in:
Myned 2017-09-24 15:30:55 -04:00
commit 1b238e9786

View file

@ -49,7 +49,7 @@ async def die(ctx):
@commands.is_owner() @commands.is_owner()
async def invite(ctx): async def invite(ctx):
try: 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: except Exception:
await ctx.send(exc.base) await ctx.send(exc.base)
traceback.print_exc(limit=1) traceback.print_exc(limit=1)