import os import asyncio from fastapi import FastAPI from botsignal import start_bot_background app = FastAPI(title="Telegram Curator Health") @app.on_event("startup") async def startup(): await start_bot_background() @app.get("/") async def root(): return {"status": "ok"} @app.get("/health") async def health(): return {"healthy": True}