mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Core] Use [p] for command prefix in help docstring of [p]removepath (#3214)
* Update cog_manager.py * Create 3214.misc.rst
This commit is contained in:
parent
bf6297aaf2
commit
df5cfabfe5
1
changelog.d/3214.misc.rst
Normal file
1
changelog.d/3214.misc.rst
Normal file
@ -0,0 +1 @@
|
||||
Show actual bot's prefix in help message of ``[p]removepath`` command.
|
||||
@ -354,8 +354,7 @@ class CogManagerUI(commands.Cog):
|
||||
@checks.is_owner()
|
||||
async def removepath(self, ctx: commands.Context, path_number: int):
|
||||
"""
|
||||
Removes a path from the available cog paths given the path_number
|
||||
from !paths
|
||||
Removes a path from the available cog paths given the `path_number` from `[p]paths`.
|
||||
"""
|
||||
path_number -= 1
|
||||
if path_number < 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user