mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Pass BotT type argument to DeferTyping
This commit is contained in:
1 parent
2cf1babb4a
commit
470323493e
1 file changed
+1
-1
@@ -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