diff options
| author | Nick <[email protected]> | 2017-08-30 16:30:16 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-08-31 18:07:12 -0400 |
| commit | 4db76c6c6b894087ab903dd33718746b1aac741c (patch) | |
| tree | 4eb6fcb2507e93b8ac56ac59ea12098534b7f2e0 /docs/migrating.rst | |
| parent | [commands] Add MissingPermissions and BotMissingPermissions (diff) | |
| download | discord.py-4db76c6c6b894087ab903dd33718746b1aac741c.tar.xz discord.py-4db76c6c6b894087ab903dd33718746b1aac741c.zip | |
Switched places of user and reaction in wait_for example
Diffstat (limited to 'docs/migrating.rst')
| -rw-r--r-- | docs/migrating.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index 9da026c6..c0434626 100644 --- a/docs/migrating.rst +++ b/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 |