From 60323c99d1d3eacf805b497bd931ac9b5bbdc735 Mon Sep 17 00:00:00 2001 From: Karlo Prikratki Date: Wed, 4 Mar 2026 22:40:59 +0100 Subject: [PATCH] Fix fuzzy command search not ignoring blacklisted users (#6594) --- redbot/core/_events.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redbot/core/_events.py b/redbot/core/_events.py index 5446a825f..ae2830699 100644 --- a/redbot/core/_events.py +++ b/redbot/core/_events.py @@ -388,6 +388,9 @@ def init_events(bot, cli_flags): 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,