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 1b5abce commit 5acb9a2Copy full SHA for 5acb9a2
1 file changed
src/models/checks.py
@@ -1,14 +1,10 @@
1
-import typing as t
2
-
3
import arc
4
import hikari
5
+from src.models.client import SnedContext # noqa: TC001
6
from src.models.errors import BotRoleHierarchyError, RoleHierarchyError, UserBlacklistedError
7
from src.utils import helpers
8
9
-if t.TYPE_CHECKING:
10
- from src.models.client import SnedContext
11
12
13
async def is_not_blacklisted(ctx: SnedContext) -> None:
14
"""Hook to evaluate if the user is blacklisted or not.
0 commit comments