diff options
author | 2025-10-07 21:47:46 +0200 | |
---|---|---|
committer | 2025-10-07 21:47:46 +0200 | |
commit | e4b1dc78f3a481e7a28b84f3fcde4bf4a8123d7f (patch) | |
tree | 21044808d0c87ddfe7494a59aa096ad4fd2ac9f2 | |
parent | Add `!exec` alias to clarify command behavior (#3392) (diff) |
Lower level of log about missing channel to infowookie/lower-warning-to-info
If e.g. a moderator deleted it already this is expected so no need for a sentry alert
-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: |