mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Update [p]addpath to use consume rest on the path argument (#5137)
Co-authored-by: npc203 <npc203@users.noreply.github.com>
This commit is contained in:
parent
b2db0674d5
commit
c3362f6eaa
@ -343,7 +343,7 @@ class CogManagerUI(commands.Cog):
|
|||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
async def addpath(self, ctx: commands.Context, path: Path):
|
async def addpath(self, ctx: commands.Context, *, path: Path):
|
||||||
"""
|
"""
|
||||||
Add a path to the list of available cog paths.
|
Add a path to the list of available cog paths.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user