aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-05-17 11:52:26 +0100
committerGravatar GitHub <[email protected]>2020-05-17 11:52:26 +0100
commit65b02cd242df1a51214a7f1d2019d614b08a623f (patch)
tree4fc0f80ba10b8b3277de25e237bb2ae78e81ce31 /bot/cogs/reminders.py
parentMerge pull request #519 from mathsman5133/help-refactor (diff)
parentUse `Command`-object for `send_help` (diff)
Merge pull request #949 from python-discord/help-command-fix-invocation
Use `send_help` to ensure that our help command is correctly invoked
Diffstat (limited to '')
-rw-r--r--bot/cogs/reminders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index 8b6457cbb..c242d2920 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -281,7 +281,7 @@ class Reminders(Scheduler, Cog):
@remind_group.group(name="edit", aliases=("change", "modify"), invoke_without_command=True)
async def edit_reminder_group(self, ctx: Context) -> None:
"""Commands for modifying your current reminders."""
- await ctx.invoke(self.bot.get_command("help"), "reminders", "edit")
+ await ctx.send_help(ctx.command)
@edit_reminder_group.command(name="duration", aliases=("time",))
async def edit_reminder_duration(self, ctx: Context, id_: int, expiration: Duration) -> None: