Switched places of user and reaction in wait_for example
This commit is contained in:
parent
12a371bfb8
commit
4db76c6c6b
@ -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…
x
Reference in New Issue
Block a user