mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Switched places of user and reaction in wait_for example
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user