Browse Source

changed permissions requested and the wording of the invite command.

tags/v2.0.0
Roxie Gibson 5 years ago
parent
commit
2880973069
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roxbot/core.py

+ 2
- 2
roxbot/core.py View File

@@ -485,8 +485,8 @@ class Core(ErrorHandling):
@commands.command()
async def invite(self, ctx):
"""Returns an invite link to invite the bot to your server."""
link = discord.utils.oauth_url(self.bot.user.id, discord.Permissions.all_channel())
return await ctx.send("Invite me to your server! <{}>".format(link))
link = discord.utils.oauth_url(self.bot.user.id, discord.Permissions(1983245558))
return await ctx.send("Invite me to your server! <{}>\n\n Disclaimer: {} requests all permissions it requires to run all commands. Some of these can be disabled but some commands may lose functionality.".format(link, self.bot.user.name))

@commands.command()
@commands.is_owner()

Loading…
Cancel
Save