refactor(main): rename bot variable to stars_bot

This commit is contained in:
2026-07-29 20:51:48 +05:00
parent 51ae2c92c0
commit 0047f30629
+3 -2
View File
@@ -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}")