2023-02-13 19:47:22 +00:00
|
|
|
import { App } from '../components/index.js'
|
2022-10-06 22:20:46 +00:00
|
|
|
import Calendar from './wiki/Calendar.js'
|
2022-09-07 19:48:03 +00:00
|
|
|
import CharWiki from './wiki/CharWiki.js'
|
2022-07-23 20:32:10 +00:00
|
|
|
|
2022-09-16 20:37:09 +00:00
|
|
|
let app = App.init({
|
|
|
|
id: 'wiki',
|
2022-09-16 22:01:31 +00:00
|
|
|
name: '角色资料'
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
2023-02-13 19:47:22 +00:00
|
|
|
app.reg({
|
|
|
|
wiki: {
|
|
|
|
rule: '^#喵喵WIKI$',
|
|
|
|
check: CharWiki.check,
|
|
|
|
fn: CharWiki.wiki,
|
|
|
|
desc: '【#资料】 #神里天赋 #夜兰命座'
|
|
|
|
},
|
|
|
|
calendar: {
|
|
|
|
rule: /^(#|喵喵)+(日历|日历列表)$/,
|
|
|
|
fn: Calendar.render,
|
|
|
|
desc: '【#日历】 活动日历'
|
|
|
|
}
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
export default app
|