[commands] Fix for _Bot Context generic in converters

This commit is contained in:
Aaron Hennessey
2022-03-09 22:55:55 +00:00
committed by GitHub
parent 89009759e0
commit bf3eb0a7fe

View File

@ -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__ = (