From 7259fb17665f8dbbc236795a2dd28eed9ca935d1 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 24 Sep 2017 15:30:30 -0400 Subject: [PATCH] "Fixed invite link command" --- src/main/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/run.py b/src/main/run.py index 57fec71..671a978 100644 --- a/src/main/run.py +++ b/src/main/run.py @@ -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)