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

This commit is contained in:
Kreusada
2022-12-30 22:28:44 +00:00
committed by GitHub
parent 82e92a8dc3
commit b98156c589
2 changed files with 3 additions and 3 deletions

View File

@@ -412,7 +412,7 @@ class CogManagerUI(commands.Cog):
for page in pagify("\n\n".join(parts), ["\n", " "]):
await ctx.send(page)
@commands.command()
@commands.command(usage="<from> <to>")
@checks.is_owner()
async def reorderpath(self, ctx: commands.Context, from_: positive_int, to: positive_int):
"""