From b64b89f484906609ab8a0060bc49a82143087263 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 15 Jan 2016 14:56:52 -0500 Subject: [PATCH] Use Queue instead of LifoQueue in LogsFromIterator. That way you get the messages in newest to oldest rather than oldest to newest. --- discord/iterators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/iterators.py b/discord/iterators.py index b0cb0c772..6a1d8952e 100644 --- a/discord/iterators.py +++ b/discord/iterators.py @@ -39,7 +39,7 @@ class LogsFromIterator: self.limit = limit self.before = before self.after = after - self.messages = asyncio.LifoQueue() + self.messages = asyncio.Queue() @asyncio.coroutine def fill_messages(self):