fix
All checks were successful
Build and Run VSTU TG Poster / build_and_run (push) Successful in 17s
All checks were successful
Build and Run VSTU TG Poster / build_and_run (push) Successful in 17s
This commit is contained in:
2
main.py
2
main.py
@@ -36,7 +36,7 @@ async def init_bot():
|
||||
connector=connector,
|
||||
default=DefaultBotProperties(parse_mode=ParseMode.HTML) # Используем HTML для надежности
|
||||
)
|
||||
logger.info(f"[*] Бот инициализирован через прокси {PROXY_URL.split('@')[-1] if '@' in PROXY_URL else 'local'}")
|
||||
logger.info(f"[*] Бот инициализирован через прокси {PROXY_URL}")
|
||||
|
||||
async def send_to_tg(text: str) -> bool:
|
||||
"""Отправляет сообщение в канал. Возвращает True при успехе."""
|
||||
|
||||
Reference in New Issue
Block a user