mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
"Fixed invite link command"
This commit is contained in:
parent
0ec0293675
commit
7259fb1766
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue