[Core] Inviteset public and perms help cleanup (#2963)

* [Core] Inviteset public and perms help cleanup

* Towncrier entry
This commit is contained in:
aikaterna 2019-08-29 18:18:43 -07:00 committed by Michael H
parent e04eed4a89
commit b8a7a66566
2 changed files with 5 additions and 5 deletions

View File

@ -0,0 +1 @@
[Core] Inviteset public and perms help string cleanup

View File

@ -446,8 +446,7 @@ class Core(commands.Cog, CoreLogic):
@inviteset.command() @inviteset.command()
async def public(self, ctx, confirm: bool = False): async def public(self, ctx, confirm: bool = False):
""" """
Define if the command should be accessible\ Define if the command should be accessible for the average user.
for the average users.
""" """
if await self.bot.db.invite_public(): if await self.bot.db.invite_public():
await self.bot.db.invite_public.set(False) await self.bot.db.invite_public.set(False)
@ -479,13 +478,13 @@ class Core(commands.Cog, CoreLogic):
Make the bot create its own role with permissions on join. Make the bot create its own role with permissions on join.
The bot will create its own role with the desired permissions\ The bot will create its own role with the desired permissions\
when he join a new server. This is a special role that can't be\ when it joins a new server. This is a special role that can't be\
deleted or removed from the bot. deleted or removed from the bot.
For that, you need to give a valid permissions level. For that, you need to provide a valid permissions level.
You can generate one here: https://discordapi.com/permissions.html You can generate one here: https://discordapi.com/permissions.html
Please note that you might need the two factor authentification for\ Please note that you might need two factor authentification for\
some permissions. some permissions.
""" """
await self.bot.db.invite_perm.set(level) await self.bot.db.invite_perm.set(level)