mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Help] fix issue with non-existent subcommands (#1565)
This commit is contained in:
parent
dd4cd0eeb1
commit
2b2dbd25f7
@ -269,6 +269,13 @@ class Help(formatter.HelpFormatter):
|
|||||||
color=color)
|
color=color)
|
||||||
return embed
|
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()
|
@commands.command()
|
||||||
async def help(ctx, *cmds: str):
|
async def help(ctx, *cmds: str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user