mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
feat: 挑战定时提醒 (#143)
* feat: 挑战定时提醒 * fix: 修复定时任务无法获取api * fix: 修复导入 * 增加优先级 * feat: 增加全局和个人提醒时间 * fix: 修复消息正则 * fix: 修复时间设置正则 * fix * 修复导入顺序 * fix: 修复管理函数位置 * fix: 修复cron * fix: 修复全局时间配置和获取 * 删俩空格 * fix: 修复无法查询别人 * fix: 修复没有config不能查询 * 添加错误信息 * 删注释 * fix: 修复时间正则匹配 * feat: 支持整十分钟 * fix: 修复消息发送 * 修复cron * 阈值命令添加别名 * 添加help * 移动全局提醒时间函数 * fix * perf: 减少导入,提升性能 * perf: 提取辅助函数 * 优化锅巴提示 * 添加指令设置全局开启/关闭 * perf: 优化逻辑 * 好友、启用状态判断;指令修改全局式舆/危局阈值;删除部分return false;调整帮助图 * fix: 推送时好友判断 * style: 删除一个行尾空格 --------- Co-authored-by: UCPr <2032385471@qq.com>
This commit is contained in:
parent
48b3146ad9
commit
46af7f3482
5 changed files with 556 additions and 0 deletions
|
|
@ -194,6 +194,46 @@ export function supportGuoba() {
|
|||
addonAfter: "s",
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'SOFT_GROUP_BEGIN',
|
||||
label: '提醒功能设置',
|
||||
},
|
||||
{
|
||||
field: 'remind.enable',
|
||||
label: '开启提醒功能',
|
||||
bottomHelpMessage: '是否启用式舆防卫战/危局强袭战的定时提醒功能',
|
||||
component: 'Switch',
|
||||
},
|
||||
{
|
||||
field: 'remind.globalRemindTime',
|
||||
label: '全局提醒时间',
|
||||
bottomHelpMessage: '设置全局默认提醒时间,格式如"每日20时"或"每周一20时40分"',
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '每日20时',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'remind.abyssCheckLevel',
|
||||
label: '默认式舆S评级阈值',
|
||||
bottomHelpMessage: '新用户订阅时,S评级数量低于此值会收到提醒',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
min: 1,
|
||||
max: 7,
|
||||
placeholder: '请输入数字(1-7)',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'remind.deadlyStars',
|
||||
label: '默认危局星星阈值',
|
||||
bottomHelpMessage: '新用户订阅时,星星总数低于此值会收到提醒',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
min: 0,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
component: 'SOFT_GROUP_BEGIN',
|
||||
label: '攻略设置',
|
||||
|
|
@ -416,6 +456,18 @@ export function supportGuoba() {
|
|||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.remind',
|
||||
label: '挑战提醒',
|
||||
bottomHelpMessage: '设置挑战提醒指令优先级',
|
||||
component: 'InputNumber',
|
||||
required: true,
|
||||
componentProps: {
|
||||
min: -1000,
|
||||
max: 1000,
|
||||
placeholder: '请输入数字',
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'priority.update',
|
||||
label: '更新插件',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue