From b2ec5813ddc4e7abc38c4143d79a0165fa591cd7 Mon Sep 17 00:00:00 2001 From: Rohan Date: Thu, 15 Apr 2021 19:16:42 +0530 Subject: Use custom help command util for sending command help. --- bot/exts/evergreen/reddit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/exts/evergreen/reddit.py') diff --git a/bot/exts/evergreen/reddit.py b/bot/exts/evergreen/reddit.py index 1a4f9add..7f4ce6a0 100644 --- a/bot/exts/evergreen/reddit.py +++ b/bot/exts/evergreen/reddit.py @@ -15,6 +15,7 @@ from discord.utils import escape_markdown, sleep_until from bot.bot import Bot from bot.constants import Channels, ERROR_REPLIES, Emojis, Reddit as RedditConfig, STAFF_ROLES from bot.utils.converters import Subreddit +from bot.utils.extensions import invoke_help_command from bot.utils.messages import sub_clyde from bot.utils.pagination import ImagePaginator, LinePaginator @@ -300,7 +301,7 @@ class Reddit(Cog): @group(name="reddit", invoke_without_command=True) async def reddit_group(self, ctx: Context) -> None: """View the top posts from various subreddits.""" - await ctx.send_help(ctx.command) + await invoke_help_command(ctx) @reddit_group.command(name="top") async def top_command(self, ctx: Context, subreddit: Subreddit = "r/Python") -> None: -- cgit v1.2.3