This commit is contained in:
2023-12-27 00:12:44 -05:00
parent 370414acdc
commit 6241b57172

2
bot.py
View File

@@ -56,7 +56,7 @@ async def _indexer(client, config):
start_time = time.time() start_time = time.time()
for input_channel in input_channels_entities: 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: try:
for output_channel in output_channel_entities: for output_channel in output_channel_entities:
# Process attachments # Process attachments