Update guoba.support.js & 指令 (#116)

* Update guoba.support.js

* Update help.js

* Update gachalog.js

* Update help.js

* Update help.js
This commit is contained in:
Steve喵~ 2025-05-24 13:40:50 +08:00 committed by GitHub
parent 51da9ada17
commit 186c3c2807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 12 deletions

View file

@ -26,11 +26,11 @@ export class GachaLog extends ZZZPlugin {
fnc: 'startGachaLog',
},
{
reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)$`,
reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)?$`,
fnc: 'refreshGachaLog',
},
{
reg: `^${rulePrefix}抽卡(分析|记录)$`,
reg: `^${rulePrefix}抽卡(分析|记录|统计)$`,
fnc: 'gachaLogAnalysis',
},
{

View file

@ -31,7 +31,7 @@ const helpData = [
desc: '查看玩家的角色和邦布列表',
needCK: true,
needSK: false,
commands: ['card', '卡片', '角色','个人信息'],
commands: ['card', '卡片', '角色', '个人信息'],
},
{
title: '便签',
@ -77,7 +77,7 @@ const helpData = [
desc: '刷新抽卡记录,如果数据过多,可能需要等待很长一段时间,请等待回复后再%查看抽卡记录',
needCK: true,
needSK: true,
commands: ['刷新/更新抽卡链接', '刷新/更新抽卡记录'],
commands: ['刷新/更新抽卡', '刷新/更新抽卡链接', '刷新/更新抽卡记录'],
},
{
title: '获取抽卡记录链接',
@ -91,7 +91,7 @@ const helpData = [
desc: '查看抽卡记录,需要手动%刷新抽卡记录,否则读取的是缓存数据',
needCK: false,
needSK: false,
commands: ['抽卡分析', '抽卡记录'],
commands: ['抽卡分析', '抽卡记录', '抽卡统计'],
},
],
},

View file

@ -28,7 +28,7 @@ export function supportGuoba() {
// 配置项 schemas
schemas: [
{
component: 'Divider',
component: 'SOFT_GROUP_BEGIN',
label: '通用设置',
},
{
@ -69,9 +69,9 @@ export function supportGuoba() {
field: 'config.update.cron',
label: '推送时间',
bottomHelpMessage: '设置自动检查更新推送的时间cron表达式',
component: 'Input',
component: 'EasyCron',
componentProps: {
placeholder: '请输入cron表达式',
placeholder: '请输入或选择cron表达式',
},
},
{
@ -92,7 +92,7 @@ export function supportGuoba() {
},
},
{
component: 'Divider',
component: 'SOFT_GROUP_BEGIN',
label: '抽卡分析设置',
},
{
@ -106,6 +106,7 @@ export function supportGuoba() {
min: 0,
max: 1000,
placeholder: '请输入数字',
addonAfter: "s",
},
},
{
@ -135,7 +136,7 @@ export function supportGuoba() {
},
},
// {
// component: 'Divider',
// component: 'SOFT_GROUP_BEGIN',
// label: '深渊设置',
// },
// {
@ -149,10 +150,11 @@ export function supportGuoba() {
// min: 0,
// max: 1000,
// placeholder: '请输入数字',
// addonAfter: "s",
// },
// },
{
component: 'Divider',
component: 'SOFT_GROUP_BEGIN',
label: '面板设置',
},
{
@ -166,6 +168,7 @@ export function supportGuoba() {
min: 0,
max: 1000,
placeholder: '请输入数字',
addonAfter: "s",
},
},
{
@ -179,10 +182,11 @@ export function supportGuoba() {
min: 0,
max: 1000,
placeholder: '请输入数字',
addonAfter: "s",
},
},
{
component: 'Divider',
component: 'SOFT_GROUP_BEGIN',
label: '攻略设置',
},
{
@ -240,6 +244,10 @@ export function supportGuoba() {
placeholder: '请输入数字17',
},
},
{
label: '其他设置',
component: 'SOFT_GROUP_BEGIN'
},
{
component: 'Divider',
label: