We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02e9ea6 commit 26c3b29Copy full SHA for 26c3b29
modules/logging.py
@@ -38,6 +38,7 @@ def __init__(self, bot: core.Bot) -> None:
38
if url := core.CONFIG["LOGGING"].get("webhook_url"):
39
self.webhook = discord.Webhook.from_url(url, session=bot.session, client=bot)
40
else:
41
+ bot.log_handler.warning("Not enabling webhook logging due to config key not existing.")
42
self.webhook = None
43
44
async def cog_load(self) -> None:
0 commit comments