From f1b950ce58b796dcf64ba034754736bdaeafd21c Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Fri, 23 Feb 2024 00:35:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/entertainment.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/entertainment.js b/apps/entertainment.js index ba193f2..b32fa08 100644 --- a/apps/entertainment.js +++ b/apps/entertainment.js @@ -195,15 +195,15 @@ ${translateLangLabels} let command = e.msg if (command.includes('openai')) { Config.translateSource = 'openai' - } else if (command.msg.includes('gemini')) { + } else if (command.includes('gemini')) { Config.translateSource = 'gemini' - } else if (command.msg.includes('星火')) { + } else if (command.includes('星火')) { Config.translateSource = 'xh' - } else if (command.msg.includes('通义千问')) { + } else if (command.includes('通义千问')) { Config.translateSource = 'qwen' - } else if (command.msg.includes('xh')) { + } else if (command.includes('xh')) { Config.translateSource = 'xh' - } else if (command.msg.includes('qwen')) { + } else if (command.includes('qwen')) { Config.translateSource = 'qwen' } else { e.reply('暂不支持该翻译源')