mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
import { Data, Version } from '#miao'
|
|
import Index from './tools/index.js'
|
|
|
|
if (!global.segment) {
|
|
global.segment = (await import('oicq')).segment
|
|
}
|
|
|
|
export * from './apps/index.js'
|
|
|
|
if (Bot?.logger?.info) {
|
|
Bot.logger.info('---------^_^---------')
|
|
Bot.logger.info(`喵喵插件${Version.version}初始化~`)
|
|
} else {
|
|
console.log(`喵喵插件${Version.version}初始化~`)
|
|
}
|
|
|
|
setTimeout(Index.init, 1000)
|