We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8500b9 commit 500ac2bCopy full SHA for 500ac2b
bot/__init__.py
@@ -1,11 +1,14 @@
1
import asyncio
2
import os
3
+from typing import TYPE_CHECKING
4
5
from pydis_core.utils import apply_monkey_patches
6
-from bot.bot import SirRobin
7
from bot.log import setup_logging
8
9
+if TYPE_CHECKING:
10
+ from bot.bot import SirRobin
11
+
12
# On Windows, the selector event loop is required for aiodns.
13
if os.name == "nt":
14
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
0 commit comments