diff options
author | 2020-04-03 19:43:16 +0300 | |
---|---|---|
committer | 2020-04-03 19:43:16 +0300 | |
commit | b00f023466c044b5b459701a479bdfcb01d9bfa6 (patch) | |
tree | fb6c0a497a3a391b36d78be31ec0759654eaf5c2 | |
parent | (Mod Management, discord.py 1.3.x Migrations): Replaced `help` command gettin... (diff) |
(Talent Pool, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r-- | bot/cogs/watchchannels/talentpool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/watchchannels/talentpool.py b/bot/cogs/watchchannels/talentpool.py index ad0c51fa6..b8473963d 100644 --- a/bot/cogs/watchchannels/talentpool.py +++ b/bot/cogs/watchchannels/talentpool.py @@ -34,7 +34,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"): @with_role(*MODERATION_ROLES) async def nomination_group(self, ctx: Context) -> None: """Highlights the activity of helper nominees by relaying their messages to the talent pool channel.""" - await ctx.invoke(self.bot.get_command("help"), "talentpool") + await ctx.send_help("talentpool") @nomination_group.command(name='watched', aliases=('all', 'list')) @with_role(*MODERATION_ROLES) @@ -173,7 +173,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"): @with_role(*MODERATION_ROLES) async def nomination_edit_group(self, ctx: Context) -> None: """Commands to edit nominations.""" - await ctx.invoke(self.bot.get_command("help"), "talentpool", "edit") + await ctx.send_help("talentpool edit") @nomination_edit_group.command(name='reason') @with_role(*MODERATION_ROLES) |