diff options
Diffstat (limited to '')
| -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)) | 
