aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/reminders.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-17 16:23:21 +0300
committerGravatar GitHub <[email protected]>2020-05-17 16:23:21 +0300
commit63be23c72a6aab2010e7e36362d168f4c1a46dd5 (patch)
tree31506a1abf82a4a027c0843b2a12cbaed94e5e1a /bot/cogs/reminders.py
parentCreated tests for `bot.cogs.logging` connected message. (diff)
parentMerge pull request #858 from python-discord/decorator-factory-mutability-tag (diff)
Merge branch 'master' into logging-tests
Diffstat (limited to '')
-rw-r--r--bot/cogs/reminders.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index 24c279357..c242d2920 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -158,7 +158,7 @@ class Reminders(Scheduler, Cog):
)
await self._delete_reminder(reminder["id"])
- @group(name="remind", aliases=("reminder", "reminders"), invoke_without_command=True)
+ @group(name="remind", aliases=("reminder", "reminders", "remindme"), invoke_without_command=True)
async def remind_group(self, ctx: Context, expiration: Duration, *, content: str) -> None:
"""Commands for managing your reminders."""
await ctx.invoke(self.new_reminder, expiration=expiration, content=content)
@@ -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: