Update index.ts

This commit is contained in:
phidias authored and GitHub committed 2026-10-12 15:20:49 +09:00
1 parent bdff46bf91
commit 6ad2d7ac5e
1 file changed
+2 -2
+2 -2
View File
@@ -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' {