From 0d985e5dc1fa451418a1914dcefd8e9ba29e7b8b Mon Sep 17 00:00:00 2001 From: Twentysix Date: Tue, 14 Jun 2016 19:45:12 +0200 Subject: [PATCH] Ignore command not found errors --- red.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/red.py b/red.py index 27b3d705a..78be899fe 100644 --- a/red.py +++ b/red.py @@ -88,6 +88,8 @@ async def on_command_error(error, ctx): ctx.command.qualified_name, type(error.original).__name__, str(error.original)) await ctx.bot.send_message(ctx.message.channel, inline(oneliner)) + elif isinstance(error, commands.CommandNotFound): + pass else: logger.exception(type(error).__name__, exc_info=error)