Remove startup webhook call
Browse files18 unmodified lines19202122232425262718 unmodified linesasync def lifespan(app: FastAPI):global botbot = Bot(token=BOT_TOKEN)await bot.delete_webhook(drop_pending_updates=True)yieldawait bot.session.close()app = FastAPI(lifespan=lifespan)18 unmodified lines19202122232425262718 unmodified linesasync def lifespan(app: FastAPI):global botbot = Bot(token=BOT_TOKEN)yieldif bot:await bot.session.close()app = FastAPI(lifespan=lifespan)
app.py+2-2