From 2b2dbd25f7b758ae94b7ee132c0630e18cc65c40 Mon Sep 17 00:00:00 2001 From: palmtree5 <3577255+palmtree5@users.noreply.github.com> Date: Thu, 3 May 2018 22:19:24 -0800 Subject: [PATCH] [V3 Help] fix issue with non-existent subcommands (#1565) --- redbot/core/help_formatter.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/redbot/core/help_formatter.py b/redbot/core/help_formatter.py index b8e4bf031..c523d6d81 100644 --- a/redbot/core/help_formatter.py +++ b/redbot/core/help_formatter.py @@ -269,6 +269,13 @@ class Help(formatter.HelpFormatter): color=color) return embed + def cmd_has_no_subcommands(self, ctx, cmd, color=None): + embed = self.simple_embed( + ctx, + title=ctx.bot.command_has_no_subcommands.format(cmd), + color=color + ) + return embed @commands.command() async def help(ctx, *cmds: str):