mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -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:
@@ -343,7 +343,7 @@ class CogManagerUI(commands.Cog):
|
||||
|
||||
@commands.command()
|
||||
@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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user