Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 authored Oct 4, 2024
2 parents 6938509 + f6b914e commit e0c941e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion discord/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@
import sys
import traceback
from abc import ABC, abstractmethod
from typing import Any, Callable, Coroutine, Generator, Literal, Mapping, TypeVar
from typing import (
TYPE_CHECKING,
Any,
Callable,
Coroutine,
Generator,
Literal,
Mapping,
TypeVar,
)

from .client import Client
from .cog import CogMixin
Expand All @@ -56,6 +65,9 @@
from .user import User
from .utils import MISSING, async_all, find, get

if TYPE_CHECKING:
from .member import Member

CoroFunc = Callable[..., Coroutine[Any, Any, Any]]
CFT = TypeVar("CFT", bound=CoroFunc)

Expand Down

0 comments on commit e0c941e

Please sign in to comment.