From 00131803ebdfe5c05d5d660f9b13ad887aad5b02 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 12 Oct 2026 15:01:38 +0900 Subject: [PATCH] Refactor ChatEvent and plugin declaration --- index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.ts b/index.ts index fa311d7..26c120a 100644 --- a/index.ts +++ b/index.ts @@ -17,8 +17,7 @@ export class ChatEvent { ) {} static async fromContext(context: InstancePluginContext) { - const instance = context.instance; - return new InstancePlugin(context.instance, context.instanceName, context.action, context.content); + return new InstancePlugin(context.instance, context.action, context.content); } }