bugfixes; touching a 5 month old projects code was n ot a good idea

This commit is contained in:
2026-03-09 14:17:50 +05:00
parent 05fed8e10b
commit f5b41f1817
6 changed files with 10 additions and 5 deletions

View File

@@ -83,6 +83,9 @@ class FunchosaParser(commands.Cog):
async def cog_load(self):
await self.db.init_db()
logger.info("FunchosaParser initialized")
asyncio.ensure_future(self._startup())
async def _startup(self):
await self.bot.wait_until_ready()
await self.auto_parse_on_startup()