[3.4] Use usage attr to remove appended underscore for from_ parameter in [p]reorderpath (#5946) (#6044)

Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>
This commit is contained in:
Red-GitHubBot
2023-04-19 23:01:41 +02:00
committed by GitHub
parent 6f75c0f13f
commit ce5417602f
2 changed files with 3 additions and 3 deletions

View File

@@ -379,7 +379,7 @@ class CogManagerUI(commands.Cog):
await ctx.bot._cog_mgr.remove_path(to_remove)
await ctx.send(_("Path successfully removed."))
@commands.command()
@commands.command(usage="<from> <to>")
@checks.is_owner()
async def reorderpath(self, ctx: commands.Context, from_: int, to: int):
"""