From 75b7ae5ee2a046a509be540c29c7a4dd67e7b3d8 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Fri, 6 Aug 2021 20:32:14 -0600 Subject: [PATCH] Fix small bug with imports --- jarvis/cogs/ctc2.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jarvis/cogs/ctc2.py b/jarvis/cogs/ctc2.py index 7c410cc..bdd7bb1 100644 --- a/jarvis/cogs/ctc2.py +++ b/jarvis/cogs/ctc2.py @@ -7,7 +7,6 @@ import aiohttp from ButtonPaginator import Paginator from discord import Member from discord import User -from discord.commands.ext import Bot from discord.ext import commands from discord_slash import cog_ext from discord_slash import SlashContext @@ -30,7 +29,7 @@ invites = re.compile( class CTCCog(CacheCog): """J.A.R.V.I.S. Complete the Code 2 Cog.""" - def __init__(self, bot: Bot): + def __init__(self, bot: commands.Bot): super().__init__(bot) self._session = aiohttp.ClientSession() self.url = "https://completethecodetwo.cards/pw" @@ -162,6 +161,6 @@ class CTCCog(CacheCog): await paginator.start() -def setup(bot: Bot) -> None: +def setup(bot: commands.Bot) -> None: """Add CTCCog to J.A.R.V.I.S.""" bot.add_cog(CTCCog(bot))