mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
24 lines
500 B
JavaScript
24 lines
500 B
JavaScript
import { App } from '../components/index.js'
|
|
import Calendar from './wiki/Calendar.js'
|
|
import CharWiki from './wiki/CharWiki.js'
|
|
|
|
let app = App.init({
|
|
id: 'wiki',
|
|
name: '角色资料'
|
|
})
|
|
app.reg({
|
|
wiki: {
|
|
rule: '^#喵喵WIKI$',
|
|
check: CharWiki.check,
|
|
fn: CharWiki.wiki,
|
|
desc: '【#资料】 #神里天赋 #夜兰命座'
|
|
},
|
|
calendar: {
|
|
rule: /^(#|喵喵)+(日历|日历列表)$/,
|
|
fn: Calendar.render,
|
|
desc: '【#日历】 活动日历'
|
|
}
|
|
})
|
|
|
|
export default app
|