[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:
jack1142 2019-12-25 04:57:21 +01:00 committed by Michael H
parent bf6297aaf2
commit df5cfabfe5
2 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1 @@
Show actual bot's prefix in help message of ``[p]removepath`` command.

View File

@ -354,8 +354,7 @@ class CogManagerUI(commands.Cog):
@checks.is_owner() @checks.is_owner()
async def removepath(self, ctx: commands.Context, path_number: int): async def removepath(self, ctx: commands.Context, path_number: int):
""" """
Removes a path from the available cog paths given the path_number Removes a path from the available cog paths given the `path_number` from `[p]paths`.
from !paths
""" """
path_number -= 1 path_number -= 1
if path_number < 0: if path_number < 0: