Silenced check failure errors

This commit is contained in:
Twentysix 2016-06-19 18:36:14 +02:00
parent 076dd93904
commit 0e3d0cc954

2
red.py
View File

@ -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)