Refactor ChatEvent and plugin declaration

This commit is contained in:
phidias authored and GitHub committed 2026-10-12 15:01:38 +09:00
1 parent 64d5dc5392
commit 00131803eb
1 file changed
+1 -2
+1 -2
View File
@@ -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);
}
}