mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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()
|
@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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user