aboutsummaryrefslogtreecommitdiff
path: root/discord/iterators.py
diff options
context:
space:
mode:
authorHarmon <[email protected]>2019-01-30 14:14:03 -0600
committerHarmon <[email protected]>2019-01-30 14:14:03 -0600
commit4b22dd216cae63273d75379d321a219e68dab9f9 (patch)
treebb91f28123184e925c78247ba6f27397c4913ad6 /discord/iterators.py
parentAdd CategoryChannel.text_channels and voice_channels (diff)
downloaddiscord.py-4b22dd216cae63273d75379d321a219e68dab9f9.tar.xz
discord.py-4b22dd216cae63273d75379d321a219e68dab9f9.zip
Fix ReactionIterator for limit > 100
Diffstat (limited to 'discord/iterators.py')
-rw-r--r--discord/iterators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/iterators.py b/discord/iterators.py
index 3f8b9cb5..1a23b767 100644
--- a/discord/iterators.py
+++ b/discord/iterators.py
@@ -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):