mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 1.1.0-rc0 更新部分问题
This commit is contained in:
parent
2b9a5b32ba
commit
6cf74f2826
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user