aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/reddit.py
diff options
context:
space:
mode:
authorGravatar Rohan <[email protected]>2021-04-15 19:16:42 +0530
committerGravatar Rohan <[email protected]>2021-04-15 19:16:42 +0530
commitb2ec5813ddc4e7abc38c4143d79a0165fa591cd7 (patch)
tree32faa64aa7e2e7336e0ecf3adc48e001506fab62 /bot/exts/evergreen/reddit.py
parentMerge branch 'main' into reddit_migration (diff)
Use custom help command util for sending command help.
Diffstat (limited to 'bot/exts/evergreen/reddit.py')
-rw-r--r--bot/exts/evergreen/reddit.py3
1 files changed, 2 insertions, 1 deletions
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: