diff --git a/transcription_bot/handlers.py b/transcription_bot/handlers.py index 58cf4d5..16361e3 100644 --- a/transcription_bot/handlers.py +++ b/transcription_bot/handlers.py @@ -56,6 +56,8 @@ def _transcription_log_and_notify_email(action: str, error_details: str): import time from datetime import datetime +router = Router() + # ✅ Полный список разрешенных расширений (Аудио, Видео, Проф. форматы) ALLOWED_EXTENSIONS = [ # Аудио @@ -158,3 +160,4 @@ async def transcription_handler(msg: Message): await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html") +