From 6ad2d7ac5e238457d31e21a6ef735b50ee04875b Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 12 Oct 2026 15:20:49 +0900 Subject: [PATCH] Update index.ts --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 4934673..94dfde0 100644 --- a/index.ts +++ b/index.ts @@ -17,12 +17,12 @@ export class ChatEvent { ) {} static async fromContext(context: InstancePluginContext) { - return new InstancePlugin(context.instance, context.action, context.content); + return new ChatEvent(context.instance, context.action, context.content); } } export default async function (context: InstancePluginContext) { - await InstancePlugin.fromContext(context); + await ChatEvent.fromContext(context); } declare module '@clusterio/lib' {