From df5cfabfe562d99cc21484f8cc4558b562cca9ed Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 25 Dec 2019 04:57:21 +0100 Subject: [PATCH] [Core] Use `[p]` for command prefix in help docstring of `[p]removepath` (#3214) * Update cog_manager.py * Create 3214.misc.rst --- changelog.d/3214.misc.rst | 1 + redbot/core/cog_manager.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 changelog.d/3214.misc.rst diff --git a/changelog.d/3214.misc.rst b/changelog.d/3214.misc.rst new file mode 100644 index 000000000..ab101f426 --- /dev/null +++ b/changelog.d/3214.misc.rst @@ -0,0 +1 @@ +Show actual bot's prefix in help message of ``[p]removepath`` command. diff --git a/redbot/core/cog_manager.py b/redbot/core/cog_manager.py index 492dbbc3d..140b3ac56 100644 --- a/redbot/core/cog_manager.py +++ b/redbot/core/cog_manager.py @@ -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: