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:
Samuel
2021-06-15 16:38:41 +05:30
committed by GitHub
parent b2db0674d5
commit c3362f6eaa

View File

@@ -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.
"""