aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
authorAkshuAgarwal <[email protected]>2021-07-28 23:56:12 +0000
committerGitHub <[email protected]>2021-07-28 19:56:12 -0400
commit85f3e11ef1ba2817a3d03ff1e02c1a9cc1b6d082 (patch)
tree250bb862fa57b98a03ad94768ff99352d396688e /discord/abc.py
parentFix EqualityComparable.__eq__ typing (diff)
downloaddiscord.py-85f3e11ef1ba2817a3d03ff1e02c1a9cc1b6d082.tar.xz
discord.py-85f3e11ef1ba2817a3d03ff1e02c1a9cc1b6d082.zip
Fix Example Usage in docs
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/abc.py b/discord/abc.py
index e6bb0f5a..ffaa5feb 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -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)