miao-plugin/index.js

20 lines
460 B
JavaScript
Raw Normal View History

2023-03-07 17:52:11 +00:00
import { Data, Version } from '#miao'
2023-10-20 08:59:06 +00:00
import Index from './tools/index.js'
2024-02-04 01:27:34 +00:00
if (!global.segment)
global.segment = (await import('oicq')).segment
2024-02-04 01:27:34 +00:00
if (!segment.button)
segment.button = () => ""
2023-03-21 19:19:03 +00:00
2022-07-23 20:32:10 +00:00
export * from './apps/index.js'
2022-09-16 21:45:10 +00:00
if (Bot?.logger?.info) {
Bot.logger.info('---------^_^---------')
2022-08-18 10:13:42 +00:00
Bot.logger.info(`喵喵插件${Version.version}初始化~`)
} else {
2022-08-18 10:13:42 +00:00
console.log(`喵喵插件${Version.version}初始化~`)
}
2023-10-20 08:59:06 +00:00
setTimeout(Index.init, 1000)