mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
[commands] Fix for _Bot Context generic in converters
This commit is contained in:
parent
89009759e0
commit
bf3eb0a7fe
@ -53,7 +53,7 @@ if TYPE_CHECKING:
|
||||
from discord.threads import Thread
|
||||
from .bot import Bot, AutoShardedBot
|
||||
|
||||
_Bot = Union[Bot, AutoShardedBot]
|
||||
_Bot = TypeVar('_Bot', bound=Union[Bot, AutoShardedBot])
|
||||
|
||||
|
||||
__all__ = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user