Browse Source

[commands] Fix for _Bot Context generic in converters

pull/7609/head
Aaron Hennessey 3 years ago
committed by GitHub
parent
commit
bf3eb0a7fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/commands/converter.py

2
discord/ext/commands/converter.py

@ -53,7 +53,7 @@ if TYPE_CHECKING:
from discord.threads import Thread from discord.threads import Thread
from .bot import Bot, AutoShardedBot from .bot import Bot, AutoShardedBot
_Bot = Union[Bot, AutoShardedBot] _Bot = TypeVar('_Bot', bound=Union[Bot, AutoShardedBot])
__all__ = ( __all__ = (

Loading…
Cancel
Save