Skip to content

Commit 2e76b03

Browse files
authored
fix: add Member import
Signed-off-by: plun1331 <[email protected]>
1 parent c430fbb commit 2e76b03

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

discord/bot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
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 Any, Callable, Coroutine, Generator, Literal, Mapping, TYPE_CHECKING, TypeVar
3838

3939
from .client import Client
4040
from .cog import CogMixin
@@ -56,6 +56,9 @@
5656
from .user import User
5757
from .utils import MISSING, async_all, find, get
5858

59+
if TYPE_CHECKING:
60+
from .member import Member
61+
5962
CoroFunc = Callable[..., Coroutine[Any, Any, Any]]
6063
CFT = TypeVar("CFT", bound=CoroFunc)
6164

0 commit comments

Comments
 (0)