mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Pass BotT type argument to DeferTyping
This commit is contained in:
@ -751,7 +751,7 @@ class Context(discord.abc.Messageable, Generic[BotT]):
|
|||||||
else:
|
else:
|
||||||
return await self.send(content, **kwargs)
|
return await self.send(content, **kwargs)
|
||||||
|
|
||||||
def typing(self, *, ephemeral: bool = False) -> Union[Typing, DeferTyping]:
|
def typing(self, *, ephemeral: bool = False) -> Union[Typing, DeferTyping[BotT]]:
|
||||||
"""Returns an asynchronous context manager that allows you to send a typing indicator to
|
"""Returns an asynchronous context manager that allows you to send a typing indicator to
|
||||||
the destination for an indefinite period of time, or 10 seconds if the context manager
|
the destination for an indefinite period of time, or 10 seconds if the context manager
|
||||||
is called using ``await``.
|
is called using ``await``.
|
||||||
|
Reference in New Issue
Block a user