mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 02:12:32 -05:00
Silenced check failure errors
This commit is contained in:
2
red.py
2
red.py
@@ -90,6 +90,8 @@ async def on_command_error(error, ctx):
|
||||
await ctx.bot.send_message(ctx.message.channel, inline(oneliner))
|
||||
elif isinstance(error, commands.CommandNotFound):
|
||||
pass
|
||||
elif isinstance(error, commands.CheckFailure):
|
||||
pass
|
||||
else:
|
||||
logger.exception(type(error).__name__, exc_info=error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user