diff options
| author | Rapptz <[email protected]> | 2017-07-04 10:45:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-07-04 10:45:38 -0400 |
| commit | e0f02f1775b2a239f626edf4cbab079c2319db3d (patch) | |
| tree | 33b1be431b0789a105aa6209255c7cf1de208eff /discord/reaction.py | |
| parent | handle Game.name being None (diff) | |
| download | discord.py-e0f02f1775b2a239f626edf4cbab079c2319db3d.tar.xz discord.py-e0f02f1775b2a239f626edf4cbab079c2319db3d.zip | |
Rename AsyncIterator.get to next to prevent shadowing.
Diffstat (limited to 'discord/reaction.py')
| -rw-r--r-- | discord/reaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/reaction.py b/discord/reaction.py index 2491d1bf..5c7c3620 100644 --- a/discord/reaction.py +++ b/discord/reaction.py @@ -137,7 +137,7 @@ class Reaction: iterator = reaction.users() while True: try: - user = yield from iterator.get() + user = yield from iterator.next() except discord.NoMoreItems: break else: |