diff options
| author | 2021-03-13 17:43:55 +0200 | |
|---|---|---|
| committer | 2021-03-13 17:43:55 +0200 | |
| commit | 0f69e00aa55ca7294e71e19ab41b57bef7a9f977 (patch) | |
| tree | 7deaf95949693aafc7592dfe7933425ebdc8f6dc /bot/exts/valentines | |
| parent | Merge pull request #619 from JagTheFriend/master (diff) | |
| parent | make invoke_help_command only take ctx (diff) | |
Merge pull request #625 from ToxicKidz/no-ctx-send-help
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..09591cf8 100644 --- a/bot/exts/valentines/be_my_valentine.py +++ b/bot/exts/valentines/be_my_valentine.py @@ -10,6 +10,7 @@ from discord.ext.commands.cooldowns import BucketType from bot.constants import Channels, Colours, Lovefest, Month from bot.utils.decorators import in_month +from bot.utils.extensions import invoke_help_command log = logging.getLogger(__name__) @@ -43,7 +44,7 @@ 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) + await invoke_help_command(ctx) @lovefest_role.command(name="sub") async def add_role(self, ctx: commands.Context) -> None: |