mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Fix ReactionIterator for limit > 100
This commit is contained in:
parent
1222bce271
commit
4b22dd216c
@ -153,7 +153,7 @@ class ReactionIterator(_AsyncIterator):
|
||||
|
||||
if data:
|
||||
self.limit -= retrieve
|
||||
self.after = Object(id=int(data[0]['id']))
|
||||
self.after = Object(id=int(data[-1]['id']))
|
||||
|
||||
if self.guild is None:
|
||||
for element in reversed(data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user