From 14fa6739b963c3080d068daf7cc23e57efdd1aab Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Sat, 17 Sep 2022 06:01:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/character.js | 3 +-- apps/stat.js | 3 +-- apps/wiki.js | 3 +-- components/App.js | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/apps/character.js b/apps/character.js index 24b40f79..4d4544d0 100644 --- a/apps/character.js +++ b/apps/character.js @@ -20,8 +20,7 @@ import { enemyLv, getOriginalPicture } from './character/utils.js' let app = App.init({ id: 'character', - name: '角色查询', - desc: '角色查询' + name: '角色查询' }) app.reg('character', character, { rule: /^(#(.*)|#*(更新|录入)?(.*)(详细|详情|面板|面版|伤害[1-7]?)(更新)?)$/, diff --git a/apps/stat.js b/apps/stat.js index 75ffe80e..205ffb7d 100644 --- a/apps/stat.js +++ b/apps/stat.js @@ -10,8 +10,7 @@ import HutaoApi from './stat/HutaoApi.js' let app = App.init({ id: 'stat', - name: '喵喵帮助', - desc: '喵喵帮助' + name: '深渊统计' }) app.reg('cons-stat', consStat, { diff --git a/apps/wiki.js b/apps/wiki.js index 0f9eec35..90b67a48 100644 --- a/apps/wiki.js +++ b/apps/wiki.js @@ -14,8 +14,7 @@ let action = { let app = App.init({ id: 'wiki', - name: '喵喵帮助', - desc: '喵喵帮助' + name: '角色资料' }) app.reg('wiki', wiki, { rule: /^(#|喵喵)?.*(天赋|技能|命座|命之座|资料|图鉴|照片|写真|图片|图像)$/, diff --git a/components/App.js b/components/App.js index 2eb137ac..e4e8a7f7 100644 --- a/components/App.js +++ b/components/App.js @@ -24,7 +24,7 @@ class App { constructor () { super({ name: `喵喵:${cfg.name || cfg.id}`, - desc: cfg.desc || '喵喵插件', + desc: cfg.desc || cfg.name || '喵喵插件', event: 'message', priority: 50, rule: rules