Removed deleted cogs from the setup_hook
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ class MyBot(commands.Bot):
|
|||||||
|
|
||||||
async def setup_hook(self):
|
async def setup_hook(self):
|
||||||
# Register cogs to handle commands
|
# Register cogs to handle commands
|
||||||
for cog_name in ["about", "debug", "reload", "post"]:
|
for cog_name in ["debug", "post"]:
|
||||||
await self.load_extension(f"cogs.{cog_name}")
|
await self.load_extension(f"cogs.{cog_name}")
|
||||||
await self.tree.sync()
|
await self.tree.sync()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user