Fix ReactionIterator for limit > 100
This commit is contained in:
parent
1222bce271
commit
4b22dd216c
@ -153,7 +153,7 @@ class ReactionIterator(_AsyncIterator):
|
|||||||
|
|
||||||
if data:
|
if data:
|
||||||
self.limit -= retrieve
|
self.limit -= retrieve
|
||||||
self.after = Object(id=int(data[0]['id']))
|
self.after = Object(id=int(data[-1]['id']))
|
||||||
|
|
||||||
if self.guild is None:
|
if self.guild is None:
|
||||||
for element in reversed(data):
|
for element in reversed(data):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user