aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-01-10 04:01:34 +0100
committerGravatar Numerlor <[email protected]>2021-01-10 06:16:10 +0100
commit22520b9b37e161437a376a6067955e0c9b91cc76 (patch)
tree030ec0755306917faa1ae0d740092fa501001e9f
parentMove functions strictly related to parsing html to the _html module (diff)
Defer import to avoid circular imports
-rw-r--r--bot/exts/info/doc/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/__init__.py b/bot/exts/info/doc/__init__.py
index af0bbff2d..dff7a0269 100644
--- a/bot/exts/info/doc/__init__.py
+++ b/bot/exts/info/doc/__init__.py
@@ -1,5 +1,4 @@
from bot.bot import Bot
-from ._cog import DocCog
MAX_SIGNATURE_AMOUNT = 3
PRIORITY_PACKAGES = (
@@ -9,4 +8,5 @@ PRIORITY_PACKAGES = (
def setup(bot: Bot) -> None:
"""Load the Doc cog."""
+ from ._cog import DocCog
bot.add_cog(DocCog(bot))