add more delay between sending posts
This commit is contained in:
parent
e6302009bb
commit
6a5d68351c
2
main.py
2
main.py
@ -123,7 +123,7 @@ async def check_updates():
|
|||||||
if already_sent[i]:
|
if already_sent[i]:
|
||||||
continue
|
continue
|
||||||
await send_post(posts[i], tag_list)
|
await send_post(posts[i], tag_list)
|
||||||
await sleep(.1)
|
await sleep(1)
|
||||||
|
|
||||||
|
|
||||||
@dp.message_handler(filters.IDFilter(chat_id=user_ids), commands=['add'])
|
@dp.message_handler(filters.IDFilter(chat_id=user_ids), commands=['add'])
|
||||||
|
Loading…
Reference in New Issue
Block a user