Browse Source
[commands] Fix for _Bot Context generic in converters
pull/7609/head
Aaron Hennessey
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
discord/ext/commands/converter.py
|
|
@ -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__ = ( |
|
|
|