From 6cf74f282601527e79db0bd8b6a322b39514801b Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Thu, 16 Mar 2023 01:18:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=201.1.0-rc0=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/neteasepro.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/neteasepro.js b/apps/neteasepro.js index 5d30fb1..aa1b0fd 100644 --- a/apps/neteasepro.js +++ b/apps/neteasepro.js @@ -26,7 +26,7 @@ export class neteasepro extends plugin { /** https://oicqjs.github.io/oicq/#events */ event: "message", /** 优先级,数字越小等级越高 */ - priority: 1, + priority: 500, rule: [ { /** 命令正则匹配 */ @@ -235,6 +235,7 @@ export class neteasepro extends plugin { }); } + // 判断是否是json的字符串 async isJSON(str) { if (typeof str !== "string") { return false;