mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Silenced check failure errors
This commit is contained in:
parent
076dd93904
commit
0e3d0cc954
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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user