From e4b1dc78f3a481e7a28b84f3fcde4bf4a8123d7f Mon Sep 17 00:00:00 2001 From: wookie184 Date: Tue, 7 Oct 2025 21:47:46 +0200 Subject: [PATCH] Lower level of log about missing channel to info If e.g. a moderator deleted it already this is expected so no need for a sentry alert --- bot/exts/moderation/infraction/_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index 93d4355565..8e6d49feac 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -121,7 +121,7 @@ async def _delete_infraction_message( await partial_message.delete() log.trace(f"Deleted infraction message {message_id} in channel {channel_id}.") except discord.NotFound: - log.warning(f"Channel or message {message_id} not found in channel {channel_id}.") + log.info(f"Channel or message {message_id} not found in channel {channel_id}.") except discord.Forbidden: log.info(f"Bot lacks permissions to delete message {message_id} in channel {channel_id}.") except discord.HTTPException as e: