Minor fix in migrating page.

This commit is contained in:
Rapptz 2017-05-31 15:28:54 -04:00
parent fb7689f8ea
commit d85e479be6

View File

@ -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.