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:
parent
0ec0293675
commit
7259fb1766
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue