mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 15:06:07 +00:00
Pass BotT type argument to DeferTyping
This commit is contained in:
parent
2cf1babb4a
commit
470323493e
@ -751,7 +751,7 @@ class Context(discord.abc.Messageable, Generic[BotT]):
|
||||
else:
|
||||
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
|
||||
the destination for an indefinite period of time, or 10 seconds if the context manager
|
||||
is called using ``await``.
|
||||
|
Loading…
x
Reference in New Issue
Block a user