aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/incidents.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py
index 22b50625a..7d0984bd1 100644
--- a/bot/exts/moderation/incidents.py
+++ b/bot/exts/moderation/incidents.py
@@ -297,6 +297,9 @@ class Incidents(Cog):
await self.bot.wait_until_guild_available()
self.incidents_webhook = await self.bot.fetch_webhook(Webhooks.incidents)
+ if not self.incidents_webhook:
+ log.error(f"Failed to fetch incidents webhook with id `{Webhooks.incidents}`.")
+
async def crawl_incidents(self) -> None:
"""
Crawl #incidents and add missing emoji where necessary.