mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 23:51:39 +00:00
24 lines
483 B
JavaScript
24 lines
483 B
JavaScript
import { App } from '#miao'
|
|
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
|