diff options
author | 2021-09-03 16:28:04 +0100 | |
---|---|---|
committer | 2021-09-03 16:28:04 +0100 | |
commit | cd7060835b5b0d150c6e91d75bc3227ee43db0ba (patch) | |
tree | 4264ddbb25e86184255574cfd0e8fa9bb11d7bcb /bot/exts/evergreen/realpython.py | |
parent | Handle status not found with 404 picture (diff) | |
parent | Merge pull request #839 from python-discord/android-codeblock-fix (diff) |
Merge branch 'main' into teapot-support
Diffstat (limited to 'bot/exts/evergreen/realpython.py')
-rw-r--r-- | bot/exts/evergreen/realpython.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/realpython.py b/bot/exts/evergreen/realpython.py index 5d9e5c5c..ef8b2638 100644 --- a/bot/exts/evergreen/realpython.py +++ b/bot/exts/evergreen/realpython.py @@ -5,7 +5,7 @@ from urllib.parse import quote_plus from discord import Embed from discord.ext import commands -from bot import bot +from bot.bot import Bot from bot.constants import Colours logger = logging.getLogger(__name__) @@ -26,7 +26,7 @@ ERROR_EMBED = Embed( class RealPython(commands.Cog): """User initiated command to search for a Real Python article.""" - def __init__(self, bot: bot.Bot): + def __init__(self, bot: Bot): self.bot = bot @commands.command(aliases=["rp"]) @@ -76,6 +76,6 @@ class RealPython(commands.Cog): await ctx.send(embed=article_embed) -def setup(bot: bot.Bot) -> None: +def setup(bot: Bot) -> None: """Load the Real Python Cog.""" bot.add_cog(RealPython(bot)) |