This commit is contained in:
2025-06-15 01:26:23 +09:00
parent 5ee39bc38b
commit 502a2046c3

View File

@@ -142,6 +142,7 @@ class ControllerPlugin extends BaseControllerPlugin {
await this.sendMessage(request, `**\`${nrc_username}\`**: ${nrc_message}`)
if (this.controller.config.get('ClusterChatSync.use_libretranslate')) {
this.logger.info(`[Chat Sync] Translating message from ${request.instanceName} (${nrc_username}): ${nrc_message}`);
const result = await this.translator.translate(nrc_message, this.translator_language);
if (result && result.action) {