diff --git a/apps/remind.js b/apps/remind.js index 248ec96..90d20cf 100644 --- a/apps/remind.js +++ b/apps/remind.js @@ -139,7 +139,7 @@ export class Remind extends ZZZPlugin { } async setMyAbyssThreshold() { - const match = this.e.msg.match(/设置式舆阈值\s*(\d+)/); + const match = this.e.msg.match(/设置(?:式舆防卫战|式舆|深渊|防卫战|防卫)阈值\s*(\d+)/); if (!match) return; const threshold = Number(match[1]); @@ -164,7 +164,7 @@ export class Remind extends ZZZPlugin { } async setMyDeadlyThreshold() { - const match = this.e.msg.match(/设置危局阈值\s*(\d+)/); + const match = this.e.msg.match(/设置(?:危局强袭战|危局|强袭|强袭战)阈值\s*(\d+)/); if (!match) return; const threshold = Number(match[1]); diff --git a/guoba.support.js b/guoba.support.js index 3719524..7d9f873 100644 --- a/guoba.support.js +++ b/guoba.support.js @@ -207,7 +207,7 @@ export function supportGuoba() { { field: 'remind.globalRemindTime', label: '全局提醒时间', - bottomHelpMessage: '设置全局默认提醒时间,格式如"每日20时"或"每周一20时"', + bottomHelpMessage: '设置全局默认提醒时间,格式如"每日20时"或"每周一20时40分"', component: 'Input', componentProps: { placeholder: '请输入提醒时间,如"每日20时"',