aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/reddit.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-08-23 20:46:14 +0100
committerGravatar Chris Lovering <[email protected]>2022-09-21 23:02:55 +0100
commitcc2dcdcdbf9e6057053bdb72bba848f4c2e19cbd (patch)
tree75c87793362d786bb2c45fea8fb235435e44c315 /bot/exts/utilities/reddit.py
parentMove startup checks and logs to their own cog (diff)
Use extension utils from bot-core
Diffstat (limited to '')
-rw-r--r--bot/exts/utilities/reddit.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/utilities/reddit.py b/bot/exts/utilities/reddit.py
index 782583d2..fa50eb36 100644
--- a/bot/exts/utilities/reddit.py
+++ b/bot/exts/utilities/reddit.py
@@ -15,7 +15,6 @@ 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
@@ -302,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 invoke_help_command(ctx)
+ await self.bot.invoke_help_command(ctx)
@reddit_group.command(name="top")
async def top_command(self, ctx: Context, subreddit: Subreddit = "r/Python") -> None: