MCPcopy
hub / github.com/AstrBotDevs/AstrBot / test_bot

Function test_bot

astrbot/dashboard/api/bots.py:158–162  ·  view source on GitHub ↗
(
    bot_id: str,
    _auth: AuthContext = Depends(require_bot_scope),
)

Source from the content-addressed store, hash-verified

156
157@router.post("/bots/{bot_id:path}/test")
158async def test_bot(
159 bot_id: str,
160 _auth: AuthContext = Depends(require_bot_scope),
161):
162 return ok({"id": bot_id, "status": "unsupported"})
163
164
165@router.get("/bots/{bot_id:path}")

Callers

nothing calls this directly

Calls 1

okFunction · 0.90

Tested by

no test coverage detected