diff options
| author | 2021-03-11 12:24:49 -0500 | |
|---|---|---|
| committer | 2021-03-11 12:24:49 -0500 | |
| commit | 1cd9c7a4f74834d799bfc706f5f28cb4147fa0ff (patch) | |
| tree | 4b54cc75f5ae9059cfd546c3eeb3e75d8cd36def /bot/exts/valentines | |
| parent | Merge pull request #619 from JagTheFriend/master (diff) | |
change ctx.send_help to ctx.invoke(help_command)
;
Diffstat (limited to 'bot/exts/valentines')
| -rw-r--r-- | bot/exts/valentines/be_my_valentine.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/valentines/be_my_valentine.py b/bot/exts/valentines/be_my_valentine.py index f3392bcb..59bd42d3 100644 --- a/bot/exts/valentines/be_my_valentine.py +++ b/bot/exts/valentines/be_my_valentine.py @@ -43,7 +43,8 @@ class BeMyValentine(commands.Cog): 2) use the command \".lovefest unsub\" to get rid of the lovefest role. """ if not ctx.invoked_subcommand: - await ctx.send_help(ctx.command) + help_command = self.bot.get_command("help") + await ctx.invoke(help_command, ctx.command.name) @lovefest_role.command(name="sub") async def add_role(self, ctx: commands.Context) -> None: |