From 32890d53dd35475a9c3d9d641f85a2bf010980f3 Mon Sep 17 00:00:00 2001 From: bietiaop <1527109126@qq.com> Date: Mon, 15 Jul 2024 15:09:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=BB=98=E8=AE=A4=E4=BC=98=E5=85=88?= =?UTF-8?q?=E7=BA=A7=E8=B0=83=E6=95=B4=E4=B8=BA70?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/card.js | 2 +- apps/challenge.js | 2 +- apps/gachalog.js | 2 +- apps/guide.js | 2 +- apps/help.js | 2 +- apps/manage.js | 2 +- apps/note.js | 2 +- apps/panel.js | 2 +- apps/update.js | 2 +- defSet/priority.yaml | 18 +++++++++--------- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/card.js b/apps/card.js index 773e10c..06de33a 100644 --- a/apps/card.js +++ b/apps/card.js @@ -11,7 +11,7 @@ export class Card extends ZZZPlugin { name: '[ZZZ-Plugin]Card', dsc: 'zzzcard', event: 'message', - priority: _.get(settings.getConfig('priority'), 'card', 1), + priority: _.get(settings.getConfig('priority'), 'card', 70), rule: [ { reg: `${rulePrefix}(card|卡片|个人信息)$`, diff --git a/apps/challenge.js b/apps/challenge.js index 12d4605..8949a8b 100644 --- a/apps/challenge.js +++ b/apps/challenge.js @@ -9,7 +9,7 @@ export class Challenge extends ZZZPlugin { name: '[ZZZ-Plugin]challenge', dsc: 'zzz式舆防卫战', event: 'message', - priority: _.get(settings.getConfig('priority'), 'challenge', 1), + priority: _.get(settings.getConfig('priority'), 'challenge', 70), rule: [ { reg: `${rulePrefix}(式舆防卫战|式舆|深渊|防卫战|防卫)$`, diff --git a/apps/gachalog.js b/apps/gachalog.js index f51a78c..272b255 100644 --- a/apps/gachalog.js +++ b/apps/gachalog.js @@ -17,7 +17,7 @@ export class GachaLog extends ZZZPlugin { name: '[ZZZ-Plugin]GachaLog', dsc: 'zzzGachaLog', event: 'message', - priority: _.get(settings.getConfig('priority'), 'gachalog', 1), + priority: _.get(settings.getConfig('priority'), 'gachalog', 70), rule: [ { reg: `^${rulePrefix}抽卡帮助$`, diff --git a/apps/guide.js b/apps/guide.js index 41faaad..4325c5d 100644 --- a/apps/guide.js +++ b/apps/guide.js @@ -18,7 +18,7 @@ export class Guide extends ZZZPlugin { name: '[ZZZ-Plugin]Guide', dsc: '#zzz角色攻略', event: 'message', - priority: _.get(settings.getConfig('priority'), 'guide', 1), + priority: _.get(settings.getConfig('priority'), 'guide', 70), rule: [ { reg: `${rulePrefix}(更新)?\\S+攻略(\\d+)?$`, diff --git a/apps/help.js b/apps/help.js index 37d2719..7ecebda 100644 --- a/apps/help.js +++ b/apps/help.js @@ -9,7 +9,7 @@ export class Help extends ZZZPlugin { name: '[ZZZ-Plugin]Help', dsc: 'zzzhelp', event: 'message', - priority: _.get(settings.getConfig('priority'), 'help', 1), + priority: _.get(settings.getConfig('priority'), 'help', 70), rule: [ { reg: `${rulePrefix}(帮助|help)$`, diff --git a/apps/manage.js b/apps/manage.js index f04c655..1a2c300 100644 --- a/apps/manage.js +++ b/apps/manage.js @@ -20,7 +20,7 @@ export class Panel extends ZZZPlugin { name: '[ZZZ-Plugin]Manage', dsc: 'zzzmanage', event: 'message', - priority: _.get(settings.getConfig('priority'), 'manage', 1), + priority: _.get(settings.getConfig('priority'), 'manage', 70), rule: [ { reg: `${rulePrefix}下载(全部|所有)资源$`, diff --git a/apps/note.js b/apps/note.js index 3505108..6b5fb88 100644 --- a/apps/note.js +++ b/apps/note.js @@ -11,7 +11,7 @@ export class Note extends ZZZPlugin { name: '[ZZZ-Plugin]Note', dsc: 'zzznote', event: 'message', - priority: _.get(settings.getConfig('priority'), 'note', 1), + priority: _.get(settings.getConfig('priority'), 'note', 70), rule: [ { reg: `${rulePrefix}(note|每日|体力|便笺|便签)$`, diff --git a/apps/panel.js b/apps/panel.js index 3c767d4..799c014 100644 --- a/apps/panel.js +++ b/apps/panel.js @@ -11,7 +11,7 @@ export class Panel extends ZZZPlugin { name: '[ZZZ-Plugin]Panel', dsc: 'zzzpanel', event: 'message', - priority: _.get(settings.getConfig('priority'), 'panel', 1), + priority: _.get(settings.getConfig('priority'), 'panel', 70), rule: [ { reg: `${rulePrefix}((刷新|更新)面板|面板(刷新|更新))$`, diff --git a/apps/update.js b/apps/update.js index 132dad2..cfbcedb 100644 --- a/apps/update.js +++ b/apps/update.js @@ -27,7 +27,7 @@ export class Update extends ZZZPlugin { name: '[ZZZ-Plugin]Update', dsc: 'zzzupdate', event: 'message', - priority: _.get(settings.getConfig('priority'), 'update', 1), + priority: _.get(settings.getConfig('priority'), 'update', 70), rule: [ { reg: `^${rulePrefix}(插件)?(强制)?更新$`, diff --git a/defSet/priority.yaml b/defSet/priority.yaml index 23ca987..05fe230 100644 --- a/defSet/priority.yaml +++ b/defSet/priority.yaml @@ -1,9 +1,9 @@ -card: 1 # 玩家信息(卡片) -challenge: 1 # 深渊 -gachalog: 1 # 抽卡 -guide: 1 # 攻略 -help: 1 # 帮助 -manage: 1 # 管理 -note: 1 # 体力 -panel: 1 # 面板 -update: 1 # 更新 +card: 70 # 玩家信息(卡片) +challenge: 70 # 深渊 +gachalog: 70 # 抽卡 +guide: 70 # 攻略 +help: 70 # 帮助 +manage: 70 # 管理 +note: 70 # 体力 +panel: 70 # 面板 +update: 70 # 更新