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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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