mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-11 15:14:52 +09:00
Refactor ChatEvent and plugin declaration
This commit is contained in:
1 parent
64d5dc5392
commit
00131803eb
1 file changed
+1
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user