diff options
Diffstat (limited to 'bot/exts/valentines')
| -rw-r--r-- | bot/exts/valentines/be_my_valentine.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/valentines/be_my_valentine.py b/bot/exts/valentines/be_my_valentine.py index 59bd42d3..d5cc8644 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,8 +44,7 @@ class BeMyValentine(commands.Cog):          2) use the command \".lovefest unsub\" to get rid of the lovefest role.          """          if not ctx.invoked_subcommand: -            help_command = self.bot.get_command("help") -            await ctx.invoke(help_command, ctx.command.name) +            await invoke_help_command(ctx, ctx.command.name)      @lovefest_role.command(name="sub")      async def add_role(self, ctx: commands.Context) -> None:  |