aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
authorGorialis <[email protected]>2017-08-02 08:10:28 +0900
committerRapptz <[email protected]>2017-08-08 17:31:08 -0400
commit1582116b72aba9d826c11487cf8c2ad31c6ac18e (patch)
treea4bc27f33b9739d8cff6c53ae640addcb65f3520 /discord/abc.py
parentAdd operation documentation for VerificationLevel, ContentFilter (diff)
downloaddiscord.py-1582116b72aba9d826c11487cf8c2ad31c6ac18e.tar.xz
discord.py-1582116b72aba9d826c11487cf8c2ad31c6ac18e.zip
Add documentation examples for AsyncIterator and change_presence.
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 785b81ff..8d479b94 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -335,7 +335,6 @@ class GuildChannel:
- Guild roles
- Channel overrides
- Member overrides
- - Whether the channel is the default channel.
Parameters
----------
@@ -764,7 +763,7 @@ class Messageable(metaclass=abc.ABCMeta):
Example Usage: ::
- with channel.typing():
+ async with channel.typing():
# do expensive stuff here
await channel.send('done!')