mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-17 15:43:12 +09:00
.
This commit is contained in:
1 parent
7bedcf3d39
commit
a0e7d69c72
1 file changed
+1
-1
+1
-1
@@ -20,7 +20,7 @@ class InstancePlugin extends BaseInstancePlugin {
|
||||
async onOutput(output) {
|
||||
if (output.type == "action") {
|
||||
if (this.host.connector.connected) {
|
||||
this.sendChat(output.action, output.message);
|
||||
this.instance.sendTo("controller", new InstanceActionEvent(this.instance.name, output.action, output.message));
|
||||
} else {
|
||||
this.messageQueue.push([output.action, output.message]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user