diff options
author | 2025-10-07 21:47:46 +0200 | |
---|---|---|
committer | 2025-10-21 19:12:54 +0100 | |
commit | fec6c32773d3799ba644f37fa5ab08e12c758cb8 (patch) | |
tree | 2b011a91be78656f775d5adf69bfd06a9bf0ca98 | |
parent | Bump astral-sh/setup-uv from 6 to 7 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | bot/exts/moderation/infraction/_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index 93d435556..8e6d49fea 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -121,7 +121,7 @@ class InfractionScheduler: 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: |