Update bot.py

parent 5ddf9705
......@@ -258,8 +258,8 @@ async def welcome_new_user(event: ChatMemberUpdated):
await check_answer(new_user.id)
async def check_answer(user_id):
"""Проверка ответа пользователя через 2 минуты."""
await asyncio.sleep(120)
"""Проверка ответа пользователя через 1 минуту."""
await asyncio.sleep(60)
user_data = active_users.get(user_id)
if user_data and not user_data["user_answered"]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment