Skip to content

Commit

Permalink
Увеличение времени для "печати".
Browse files Browse the repository at this point in the history
  • Loading branch information
Zensonaton committed Dec 3, 2023
1 parent 54b0521 commit 3c8dcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/vk/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ async def _download(index, file_id: str) -> tuple[int, bytes]:

# Вызываем несколько API-методов используя execute.
if wait_to_type:
await asyncio.sleep(0.6 if len(message_text) <= 15 else 1)
await asyncio.sleep(1 if len(message_text) <= 15 else 2)

# Отправляем сообщение.
vk_message_id = await self.send_message(
Expand Down

0 comments on commit 3c8dcd3

Please sign in to comment.