mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
@@ -183,6 +183,8 @@ class ControllerPlugin extends BaseControllerPlugin {
|
|||||||
if (this.controller.config.get('chat_sync.use_libretranslate')) {
|
if (this.controller.config.get('chat_sync.use_libretranslate')) {
|
||||||
const result = await translator.translate(nrc_message, this.translator_language);
|
const result = await translator.translate(nrc_message, this.translator_language);
|
||||||
this.sendChat(`[color=255,255,255]\`${nrc_username}\`: ${result}[/color]`);
|
this.sendChat(`[color=255,255,255]\`${nrc_username}\`: ${result}[/color]`);
|
||||||
|
|
||||||
|
// await sendMessage(`**\`${nrc_username}\`**: ${result}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
await sendMessage(`**\`${nrc_username}\`**: ${nrc_message}`)
|
await sendMessage(`**\`${nrc_username}\`**: ${nrc_message}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user