This commit is contained in:
Boki 2026-02-12 12:33:06 -05:00
parent 3d7a8aafdf
commit c1892230b7
13 changed files with 1111 additions and 993 deletions

View file

@ -0,0 +1,12 @@
import { Router } from 'express';
import type { Bot } from '../../bot/Bot.js';
export function statusRoutes(bot: Bot): Router {
const router = Router();
router.get('/status', (_req, res) => {
res.json(bot.getStatus());
});
return router;
}