Fix Example Usage in docs

This commit is contained in:
AkshuAgarwal 2021-07-28 23:56:12 +00:00 committed by GitHub
parent 67026809a8
commit 85f3e11ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1452,6 +1452,7 @@ class Messageable:
This means that both ``with`` and ``async with`` work with this.
Example Usage: ::
async with channel.typing():
# simulate something heavy
await asyncio.sleep(10)