aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-03 19:17:13 +0300
committerGravatar ks129 <[email protected]>2020-04-03 19:17:13 +0300
commit1a2edf7b4cda8a39c86337e5a0effc5e8874b73c (patch)
tree325afa2f304ee92ced5764c7ab7e2bcaac611b12
parent(Off-Topic Names, discord.py 1.3.x Migrations): Replaced `help` command getti... (diff)
(Reddit, discord.py 1.3.x Migrations): Replaced `help` command getting with `ctx.send_help`.
-rw-r--r--bot/cogs/reddit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/reddit.py b/bot/cogs/reddit.py
index 7f0ba98d2..426c34bfa 100644
--- a/bot/cogs/reddit.py
+++ b/bot/cogs/reddit.py
@@ -246,7 +246,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.invoke(self.bot.get_command("help"), "reddit")
+ await ctx.send_help("reddit")
@reddit_group.command(name="top")
async def top_command(self, ctx: Context, subreddit: Subreddit = "r/Python") -> None: