From 1621d4a9dccf737875027550b11fe141e726a244 Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Wed, 31 Mar 2021 21:29:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20-=20Fixed=20loadext=20and=20unlo?= =?UTF-8?q?adext.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/ext/cmd_owner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ext/cmd_owner.py b/python/ext/cmd_owner.py index 3733827..1c735d4 100644 --- a/python/ext/cmd_owner.py +++ b/python/ext/cmd_owner.py @@ -13,14 +13,14 @@ class OwnerCmds(commands.Cog, name='Owner commands'): @commands.command(hidden=True, ignore_extra=False) @commands.is_owner() async def loadext(self, ctx, extension): - self.bot.load_extension(extension) + self.bot.load_extension('ext.' + extension) await ctx.send("Extension loaded.") @commands.command(hidden=True, ignore_extra=False) @commands.is_owner() async def unloadext(self, ctx, extension): - self.bot.unload_extension(extension) + self.bot.unload_extension('ext.' + extension) await ctx.send("Extension unloaded.") @commands.command(hidden=True)