Skip to content

Commit e0c941e

Browse files
authored
Merge branch 'master' into master
2 parents 6938509 + f6b914e commit e0c941e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

discord/bot.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,16 @@
3434
import sys
3535
import traceback
3636
from abc import ABC, abstractmethod
37-
from typing import Any, Callable, Coroutine, Generator, Literal, Mapping, TypeVar
37+
from typing import (
38+
TYPE_CHECKING,
39+
Any,
40+
Callable,
41+
Coroutine,
42+
Generator,
43+
Literal,
44+
Mapping,
45+
TypeVar,
46+
)
3847

3948
from .client import Client
4049
from .cog import CogMixin
@@ -56,6 +65,9 @@
5665
from .user import User
5766
from .utils import MISSING, async_all, find, get
5867

68+
if TYPE_CHECKING:
69+
from .member import Member
70+
5971
CoroFunc = Callable[..., Coroutine[Any, Any, Any]]
6072
CFT = TypeVar("CFT", bound=CoroFunc)
6173

0 commit comments

Comments
 (0)