From c3362f6eaa874c55d462562db7c67d25d429d329 Mon Sep 17 00:00:00 2001 From: Samuel <50765275+npc203@users.noreply.github.com> Date: Tue, 15 Jun 2021 16:38:41 +0530 Subject: [PATCH] Update `[p]addpath` to use consume rest on the path argument (#5137) Co-authored-by: npc203 --- redbot/core/cog_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/cog_manager.py b/redbot/core/cog_manager.py index 18278ec0d..6189fd638 100644 --- a/redbot/core/cog_manager.py +++ b/redbot/core/cog_manager.py @@ -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. """