From 09d13f61de31d8c8d2e7ad909e61faf030675eba Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 12 Oct 2026 14:39:04 +0900 Subject: [PATCH] Update controller.ts --- controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.ts b/controller.ts index d9f2c29..a5e5706 100644 --- a/controller.ts +++ b/controller.ts @@ -130,7 +130,7 @@ export default async function(context: ControllerPluginContext) { ? text.slice(0, -verb.length).trim() : text; - const id = [...controller.instances.instances.values()].find(i => i.name === instanceName)?.id; + const id = controller.instances.get(instanceName); const connection = await controller.instances.get(id); if (!connection) {