AkshuAgarwal
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
discord/abc.py
|
@ -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) |
|
|