From 3b53c9cb5fb72d8a3af9c6b21b8be6efcc9bb454 Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Thu, 2 Apr 2026 13:30:57 +0200 Subject: [PATCH] feat(games): register chess plugin on server startup Co-Authored-By: Claude Opus 4.6 (1M context) --- bot/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot/index.ts b/bot/index.ts index 088d79f..f75a00e 100644 --- a/bot/index.ts +++ b/bot/index.ts @@ -3,9 +3,14 @@ import { env } from "@shared/lib/env"; import { join } from "node:path"; import { initializeConfig } from "@shared/lib/config"; import { registerDomainEventListeners } from "@shared/lib/eventWiring"; +import { gameRegistry } from "@shared/games/registry"; +import { chessPlugin } from "@shared/games/chess/plugin"; import { startWebServerFromRoot } from "../api/src/server"; +// Register game plugins +gameRegistry.register(chessPlugin); + // Initialize config from database await initializeConfig();