diff --git a/code/bot.py b/code/bot.py index 6cce5e8..9ed2df6 100644 --- a/code/bot.py +++ b/code/bot.py @@ -19,6 +19,9 @@ class MyBot(commands.Bot): for ext in os.listdir("./code/cogs"): if ext.endswith(".py"): await self.load_extension(f"cogs.{ext[:-3]}") + for ext in os.listdir("./code/cogs/owner"): + if ext.endswith(".py"): + await self.load_extension(f"cogs.owner.{ext[:-3]}") bot = MyBot()