mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-16 23:40:41 +09:00
.
This commit is contained in:
1 parent
3a063822fa
commit
7bedcf3d39
1 file changed
+5
-1
+5
-1
@@ -19,7 +19,11 @@ class InstancePlugin extends BaseInstancePlugin {
|
||||
|
||||
async onOutput(output) {
|
||||
if (output.type == "action") {
|
||||
this.messageQueue.push([output.action, output.message]);
|
||||
if (this.host.connector.connected) {
|
||||
this.sendChat(output.action, output.message);
|
||||
} else {
|
||||
this.messageQueue.push([output.action, output.message]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user