diff --git a/main.py b/main.py index 88683c3..ee25015 100644 --- a/main.py +++ b/main.py @@ -22,8 +22,9 @@ def setup_logging(): async def main(): try: config = Config() - bot = TelegramStarsBot(config) - await bot.start() + stars_bot = TelegramStarsBot(config) + + await stars_bot.start() except (ValueError, TypeError) as e: logger.critical(f"Ошибка в конфигурации или при запуске: {e}")