diff options
| author | Rapptz <[email protected]> | 2017-05-31 15:28:54 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-31 15:28:54 -0400 |
| commit | d85e479be666c36533a3ef31a7ab04b2ec5c1cdf (patch) | |
| tree | 6ea3d7cddbc38c334be6dfff79acc784e3212739 /docs | |
| parent | Add some margin for supported operations sections. (diff) | |
| download | discord.py-d85e479be666c36533a3ef31a7ab04b2ec5c1cdf.tar.xz discord.py-d85e479be666c36533a3ef31a7ab04b2ec5c1cdf.zip | |
Minor fix in migrating page.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/migrating.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index 1b656e6a..947889b2 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -638,7 +638,7 @@ For example, to wait for a message: :: def pred(m): return m.author == message.author and m.channel == message.channel - msg = await client.wait_for('message', check=m) + msg = await client.wait_for('message', check=pred) To facilitate multiple returns, :meth:`Client.wait_for` returns either a single argument, no arguments, or a tuple of arguments. |