mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Rename AsyncIterator.get to next to prevent shadowing.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user