From 38a5e3d5023953b704c30e05d492766ccdf7cd70 Mon Sep 17 00:00:00 2001 From: ctrlcvs <1509167646@qq.com> Date: Sat, 13 Aug 2022 23:53:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3V3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/xiaoyao_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/xiaoyao_image.js b/apps/xiaoyao_image.js index b3908d2..db40ad9 100644 --- a/apps/xiaoyao_image.js +++ b/apps/xiaoyao_image.js @@ -41,7 +41,7 @@ export async function roleInfo(e) { let id; if (isV3) { Botcfg = (await import(`file://${_path}/plugins/genshin/model/gsCfg.js`)).default; - Botcfg.roleNameToID(msg) + id=Botcfg.roleNameToID(msg) } else { Botcfg = YunzaiApps.mysInfo id = Botcfg.roleIdToName(msg);