mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
4
info.js
4
info.js
@@ -2,7 +2,7 @@
|
||||
const lib = require('@clusterio/lib');
|
||||
|
||||
class InstanceActionEvent {
|
||||
static type = 'requests';
|
||||
static type = 'request';
|
||||
static src = 'instance';
|
||||
static dst = 'controller';
|
||||
static plugin = 'ClusterChatSync';
|
||||
@@ -22,6 +22,8 @@ class InstanceActionEvent {
|
||||
static fromJSON(json) {
|
||||
return new this(json.instanceName, json.action, json.content);
|
||||
}
|
||||
|
||||
static Response = lib.JsonString;
|
||||
}
|
||||
|
||||
const plugin = {
|
||||
|
||||
Reference in New Issue
Block a user