aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:14:21 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:14:21 +0300
commit7b9e6b0b90ab3445b9fa7cde30f5a923486c4094 (patch)
tree5ab783291e2d2c9ce787126a3b39a3f47ea0c5e4
parent(Extensions, discord.py 1.3.x Migrations): Replaced `help` command getting wi... (diff)
(Off-Topic Names, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/off_topic_names.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/off_topic_names.py b/bot/cogs/off_topic_names.py
index 29aadedc4..fd386858e 100644
--- a/bot/cogs/off_topic_names.py
+++ b/bot/cogs/off_topic_names.py
@@ -96,7 +96,7 @@ class OffTopicNames(Cog):
@with_role(*MODERATION_ROLES)
async def otname_group(self, ctx: Context) -> None:
"""Add or list items from the off-topic channel name rotation."""
- await ctx.invoke(self.bot.get_command("help"), "otname")
+ await ctx.send_help("otname")
@otname_group.command(name='add', aliases=('a',))
@with_role(*MODERATION_ROLES)