Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions redbot/core/_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading