diff --git a/redbot/core/_events.py b/redbot/core/_events.py index 5446a825f87..ae2830699c5 100644 --- a/redbot/core/_events.py +++ b/redbot/core/_events.py @@ -388,6 +388,9 @@ async def on_command_error(ctx, error, unhandled_by_cog=False): message = inline(_("Error in command '{command}'.")) await ctx.send(message.replace("{command}", ctx.command.qualified_name)) elif isinstance(error, commands.CommandNotFound): + if not await bot.message_eligible_as_command(ctx.message): + return + help_settings = await HelpSettings.from_context(ctx) fuzzy_commands = await fuzzy_command_search( ctx,