Summary
Under certain startup conditions, some extensions/cogs fail to load when the site/API is temporarily unavailable (e.g., connection drop, timeout, failed response).
Example (Filtering cog):
bot/exts/filtering/filtering.py
async def cog_load(self)
- site/API call during load (
self.bot.api_client.get(...))
- webhook setup during load (
_fetch_or_generate_filtering_webhook())
If these fail and are not handled, the cog may not load.
Affected Cogs
filters (highest priority; moderation-critical)
superstarify
reminders
python_news
Tasks
Summary
Under certain startup conditions, some extensions/cogs fail to load when the site/API is temporarily unavailable (e.g., connection drop, timeout, failed response).
Example (Filtering cog):
bot/exts/filtering/filtering.pyasync def cog_load(self)self.bot.api_client.get(...))_fetch_or_generate_filtering_webhook())If these fail and are not handled, the cog may not load.
Affected Cogs
filters(highest priority; moderation-critical)superstarifyreminderspython_newsTasks
cog_load()filtersload failure