mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-30 21:12:58 +00:00 
			
		
		
		
	Use Queue instead of LifoQueue in LogsFromIterator.
That way you get the messages in newest to oldest rather than oldest to newest.
This commit is contained in:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user