aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-07-04 10:45:38 -0400
committerRapptz <[email protected]>2017-07-04 10:45:38 -0400
commite0f02f1775b2a239f626edf4cbab079c2319db3d (patch)
tree33b1be431b0789a105aa6209255c7cf1de208eff /discord/abc.py
parenthandle Game.name being None (diff)
downloaddiscord.py-e0f02f1775b2a239f626edf4cbab079c2319db3d.tar.xz
discord.py-e0f02f1775b2a239f626edf4cbab079c2319db3d.zip
Rename AsyncIterator.get to next to prevent shadowing.
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 2b05c83c..29bc65b3 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -872,7 +872,7 @@ class Messageable(metaclass=abc.ABCMeta):
iterator = channel.history(limit=200)
while True:
try:
- message = yield from iterator.get()
+ message = yield from iterator.next()
except discord.NoMoreItems:
break
else: