From 85eb968c74bb0284ca3ca49649323dfc30bfd4f1 Mon Sep 17 00:00:00 2001 From: Louis Dominic Date: Sun, 14 Jan 2024 21:27:47 +0700 Subject: [PATCH] Fuck --- core/commands/cog.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/commands/cog.py b/core/commands/cog.py index 7cfdb0f..b93f372 100644 --- a/core/commands/cog.py +++ b/core/commands/cog.py @@ -1,10 +1,12 @@ import inspect import logging +from typing import TYPE_CHECKING import discord from discord.ext import commands -from ..bot import FumoBot +if TYPE_CHECKING: + from ..bot import FumoBot __all__ = ("Cog",) @@ -12,7 +14,7 @@ class Cog(commands.Cog): """A custom subclass of `commands.Cog`.""" - def __init__(self, bot: FumoBot) -> None: + def __init__(self, bot: "FumoBot") -> None: self._log = logging.getLogger(f"fumo.cogs.{self.qualified_name.lower()}") self.bot = bot super().__init__()