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