diff options
| author | 2022-08-23 20:46:14 +0100 | |
|---|---|---|
| committer | 2022-09-21 23:02:55 +0100 | |
| commit | cc2dcdcdbf9e6057053bdb72bba848f4c2e19cbd (patch) | |
| tree | 75c87793362d786bb2c45fea8fb235435e44c315 /bot/exts/utilities/reddit.py | |
| parent | Move 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.py | 3 |
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: |