2023-02-13 19:47:22 +00:00
|
|
|
import Help from './help/Help.js'
|
2023-03-07 17:52:11 +00:00
|
|
|
import { App } from '#miao'
|
2022-09-16 20:37:09 +00:00
|
|
|
|
|
|
|
let app = App.init({
|
|
|
|
id: 'help',
|
|
|
|
name: '喵喵帮助',
|
|
|
|
desc: '喵喵帮助'
|
|
|
|
})
|
|
|
|
|
2023-02-13 19:47:22 +00:00
|
|
|
app.reg({
|
|
|
|
help: {
|
2024-03-21 01:16:04 +00:00
|
|
|
rule: /^(\/|#)?(喵喵)?(命令|帮助|菜单|help|说明|功能|指令|使用说明)$/,
|
2023-02-13 19:47:22 +00:00
|
|
|
fn: Help.render,
|
2024-03-21 01:16:04 +00:00
|
|
|
desc: '【#/帮助】 #/喵喵帮助'
|
2023-02-13 19:47:22 +00:00
|
|
|
},
|
|
|
|
version: {
|
2024-03-21 01:16:04 +00:00
|
|
|
rule: /^(\/|#)?喵喵版本$/,
|
2023-02-13 19:47:22 +00:00
|
|
|
fn: Help.version,
|
2024-03-21 01:16:04 +00:00
|
|
|
desc: '【#/帮助】 #/喵喵版本介绍'
|
2023-02-13 19:47:22 +00:00
|
|
|
}
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
export default app
|