diff --git a/main.py b/main.py index b95e602..8ed2b8b 100644 --- a/main.py +++ b/main.py @@ -315,7 +315,10 @@ async def check_aliases(msg: Message): if replacements := await e621.get_tag_aliases(subtag): lines.append(f'- {subtag} -> {replacements[0]}, ({sub})') progress += 1 - await send_progress() + if progress % 20 == 0: + await send_progress() + + await send_progress() @dp.message(filters.Command('update'), ChatFilter)