mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 11:57:17 +00:00
Fix Example Usage in docs
This commit is contained in:
parent
67026809a8
commit
85f3e11ef1
@ -1452,6 +1452,7 @@ class Messageable:
|
|||||||
This means that both ``with`` and ``async with`` work with this.
|
This means that both ``with`` and ``async with`` work with this.
|
||||||
|
|
||||||
Example Usage: ::
|
Example Usage: ::
|
||||||
|
|
||||||
async with channel.typing():
|
async with channel.typing():
|
||||||
# simulate something heavy
|
# simulate something heavy
|
||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user