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'
|
2022-06-27 20:46:49 +00:00
|
|
|
|
2024-02-04 01:27:34 +00:00
|
|
|
if (!global.segment)
|
2023-10-10 18:29:04 +00:00
|
|
|
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
|
|
|
|
2022-08-02 19:12:07 +00:00
|
|
|
if (Bot?.logger?.info) {
|
2022-08-24 01:07:06 +00:00
|
|
|
Bot.logger.info('---------^_^---------')
|
2022-08-18 10:13:42 +00:00
|
|
|
Bot.logger.info(`喵喵插件${Version.version}初始化~`)
|
2022-08-02 19:12:07 +00:00
|
|
|
} else {
|
2022-08-18 10:13:42 +00:00
|
|
|
console.log(`喵喵插件${Version.version}初始化~`)
|
2022-08-02 19:12:07 +00:00
|
|
|
}
|
2022-04-26 14:25:47 +00:00
|
|
|
|
2023-10-20 08:59:06 +00:00
|
|
|
setTimeout(Index.init, 1000)
|