Browse Source

Switched places of user and reaction in wait_for example

pull/749/merge
Nick 8 years ago
committed by Rapptz
parent
commit
4db76c6c6b
  1. 2
      docs/migrating.rst

2
docs/migrating.rst

@ -649,7 +649,7 @@ arguments.
For example, to wait for a reaction: ::
reaction, user = await client.wait_for('reaction_add', check=lambda u, r: u.id == 176995180300206080)
reaction, user = await client.wait_for('reaction_add', check=lambda r, u: u.id == 176995180300206080)
# use user and reaction

Loading…
Cancel
Save