mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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)
|
||||
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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user