mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Core] Inviteset public and perms help cleanup (#2963)
* [Core] Inviteset public and perms help cleanup * Towncrier entry
This commit is contained in:
parent
e04eed4a89
commit
b8a7a66566
1
changelog.d/2963.bugfix.rst
Normal file
1
changelog.d/2963.bugfix.rst
Normal file
@ -0,0 +1 @@
|
||||
[Core] Inviteset public and perms help string cleanup
|
||||
@ -446,8 +446,7 @@ class Core(commands.Cog, CoreLogic):
|
||||
@inviteset.command()
|
||||
async def public(self, ctx, confirm: bool = False):
|
||||
"""
|
||||
Define if the command should be accessible\
|
||||
for the average users.
|
||||
Define if the command should be accessible for the average user.
|
||||
"""
|
||||
if await self.bot.db.invite_public():
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
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
|
||||
|
||||
Please note that you might need the two factor authentification for\
|
||||
Please note that you might need two factor authentification for\
|
||||
some permissions.
|
||||
"""
|
||||
await self.bot.db.invite_perm.set(level)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user