diff --git a/bot.py b/bot.py index 0cadb3d..c45adf6 100644 --- a/bot.py +++ b/bot.py @@ -56,7 +56,7 @@ async def _indexer(client, config): start_time = time.time() for input_channel in input_channels_entities: - async for message in client.iter_messages(input_channel, limit=None, likewhoareverse=True, wait_time=10): + async for message in client.iter_messages(input_channel, limit=None, reverse=True, wait_time=10): try: for output_channel in output_channel_entities: # Process attachments