mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Use usage attr to remove appended underscore for from_ parameter in [p]reorderpath (#5946)
This commit is contained in:
parent
82e92a8dc3
commit
b98156c589
@ -193,7 +193,7 @@ reorderpath
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
[p]reorderpath <from_> <to>
|
[p]reorderpath <from> <to>
|
||||||
|
|
||||||
**Description**
|
**Description**
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ have to put the 3rd path higher than the 2nd path, let's swap them! Type
|
|||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
|
|
||||||
* ``<from_>``: The index of the path you want to move.
|
* ``<from>``: The index of the path you want to move.
|
||||||
* ``<to>``: The location where you want to insert the path.
|
* ``<to>``: The location where you want to insert the path.
|
||||||
|
|
||||||
.. _cogmanagerui-command-installpath:
|
.. _cogmanagerui-command-installpath:
|
||||||
|
|||||||
@ -412,7 +412,7 @@ class CogManagerUI(commands.Cog):
|
|||||||
for page in pagify("\n\n".join(parts), ["\n", " "]):
|
for page in pagify("\n\n".join(parts), ["\n", " "]):
|
||||||
await ctx.send(page)
|
await ctx.send(page)
|
||||||
|
|
||||||
@commands.command()
|
@commands.command(usage="<from> <to>")
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
async def reorderpath(self, ctx: commands.Context, from_: positive_int, to: positive_int):
|
async def reorderpath(self, ctx: commands.Context, from_: positive_int, to: positive_int):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user