Add documentation examples for AsyncIterator and change_presence.

This commit is contained in:
Gorialis authored and Rapptz committed 2017-08-08 17:31:08 -04:00
1 parent 20fae90a08
commit 1582116b72
3 files changed
+33 -2

No files matched your search

+1 -2
View File
@@ -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!')