fix logging error on every ignored prefix command error

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
leanderandClaude Opus 5.5 committed 2026-10-23 21:30:18 +02:00
1 parent b6915bf135
commit 4b82e92d15
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ class Errors(commands.Cog):
# Ignored errors
ignored_errors = (commands.CommandNotFound, commands.DisabledCommand, commands.CheckFailure)
if isinstance(error, ignored_errors):
self.bot.logger.info("Ignored error", error)
self.bot.logger.info(f"Ignored error: {error!r}")
return
# Errors that should prompt a help message