2023-03-27 20:02:49 +00:00
|
|
|
import { App } from '#miao'
|
2022-10-06 22:20:46 +00:00
|
|
|
import Calendar from './wiki/Calendar.js'
|
2023-12-06 20:58:41 +00:00
|
|
|
import TodayMaterial from './wiki/TodayMaterial.js'
|
2022-09-07 19:48:03 +00:00
|
|
|
import CharWiki from './wiki/CharWiki.js'
|
2023-08-09 21:44:15 +00:00
|
|
|
import CalendarSr from './wiki/CalendarSr.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,
|
2023-08-09 21:44:15 +00:00
|
|
|
desc: '【#日历】 原神活动日历'
|
|
|
|
},
|
|
|
|
calendarSr: {
|
|
|
|
rule: /^#(星铁)+(日历|日历列表)$/,
|
|
|
|
fn: CalendarSr.render,
|
|
|
|
desc: '【#星铁日历】 星铁活动日历'
|
2023-12-06 20:58:41 +00:00
|
|
|
},
|
|
|
|
today: {
|
|
|
|
rule: /^#(今日|今天|每日|我的)*(素材|材料|天赋)[ |0-9]*$/,
|
|
|
|
fn: TodayMaterial.render
|
2023-02-13 19:47:22 +00:00
|
|
|
}
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
export default app
|