🐞 fix: 1.1.0-rc0 更新部分问题

This commit is contained in:
zhiyu1998 2023-03-16 01:18:27 +08:00
parent 2b9a5b32ba
commit 6cf74f2826

View File

@ -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;