Update index.js (#91)

This commit is contained in:
吃吃吃个柚子皮 2022-08-02 03:30:28 +08:00 committed by GitHub
parent 4333ef81ef
commit 6df4736a63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,9 @@ if (isV3) {
index = await Data.importModule('/plugins/miao-plugin/adapter', 'index.js')
}
export const miao = index.miao || {}
console.log(`喵喵插件${currentVersion}初始化~`)
Bot.logger.info(`--------------------------`)
Bot.logger.info(`喵喵插件${currentVersion}初始化~`)
Bot.logger.info(`--------------------------`)
setTimeout(async function () {
let msgStr = await redis.get('miao:restart-msg')