mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -19,9 +19,13 @@ class InstancePlugin extends BaseInstancePlugin {
|
|||||||
|
|
||||||
async onOutput(output) {
|
async onOutput(output) {
|
||||||
if (output.type == "action") {
|
if (output.type == "action") {
|
||||||
|
if (this.host.connector.connected) {
|
||||||
|
this.sendChat(output.action, output.message);
|
||||||
|
} else {
|
||||||
this.messageQueue.push([output.action, output.message]);
|
this.messageQueue.push([output.action, output.message]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Reference in New Issue
Block a user