mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Minor fix in migrating page.
This commit is contained in:
parent
fb7689f8ea
commit
d85e479be6
@ -638,7 +638,7 @@ For example, to wait for a message: ::
|
|||||||
def pred(m):
|
def pred(m):
|
||||||
return m.author == message.author and m.channel == message.channel
|
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
|
To facilitate multiple returns, :meth:`Client.wait_for` returns either a single argument, no arguments, or a tuple of
|
||||||
arguments.
|
arguments.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user