mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-12-17 23:57:58 +00:00
20 lines
460 B
JavaScript
20 lines
460 B
JavaScript
import { Data, Version } from '#miao'
|
|
import Index from './tools/index.js'
|
|
|
|
if (!global.segment)
|
|
global.segment = (await import('oicq')).segment
|
|
|
|
if (!segment.button)
|
|
segment.button = () => ""
|
|
|
|
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)
|