Fix ReactionIterator for limit > 100

This commit is contained in:
Harmon 2019-01-30 14:14:03 -06:00
parent 1222bce271
commit 4b22dd216c

View File

@ -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):