fix detection proxy

This commit is contained in:
Yuriy Yuriev
2026-05-18 23:18:57 +07:00
parent 9b246c5cf0
commit 5f8d5e8834
2 changed files with 45 additions and 2 deletions
+4 -1
View File
@@ -79,9 +79,12 @@ class BotApplication:
self.interface.register(self.dispatcher)
await self._update_bot_commands()
# Определяем типы прокси без явного протокола
await self.proxy_manager.detect_types()
# Восстанавливаем задачи
await self._restore_tasks()
logger.info(f"Proxies: {self.proxy_manager.count}")
logger.info("Bot initialized!")