[V3 Help] fix issue with non-existent subcommands (#1565)

This commit is contained in:
palmtree5
2018-05-03 22:19:24 -08:00
committed by GitHub
parent dd4cd0eeb1
commit 2b2dbd25f7

View File

@@ -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):