fix: 删除重复执行
This commit is contained in:
parent
6d170664df
commit
8adcf50e7e
|
@ -30,9 +30,6 @@ export class EventOnline extends EventListener {
|
||||||
logger.green(`${BOT_NAME} 上线成功 版本v${cfg.package.version}`)
|
logger.green(`${BOT_NAME} 上线成功 版本v${cfg.package.version}`)
|
||||||
)
|
)
|
||||||
logger.mark(logger.green('https://github.com/yoimiya-kokomi/Miao-Yunzai'))
|
logger.mark(logger.green('https://github.com/yoimiya-kokomi/Miao-Yunzai'))
|
||||||
// logger.mark('-----------')
|
|
||||||
/** 加载插件 */
|
|
||||||
await this.plugins.load()
|
|
||||||
|
|
||||||
/** 上线通知 */
|
/** 上线通知 */
|
||||||
this.loginMsg()
|
this.loginMsg()
|
||||||
|
|
|
@ -10,9 +10,10 @@ setTimeout(async () => {
|
||||||
/**
|
/**
|
||||||
* run
|
* run
|
||||||
*/
|
*/
|
||||||
await Client.run()
|
await Client.run().then(async () => {
|
||||||
/**
|
/**
|
||||||
* Loader
|
* Loader
|
||||||
*/
|
*/
|
||||||
await Client.PluginsLoader()
|
await Client.PluginsLoader()
|
||||||
|
})
|
||||||
}, 0)
|
}, 0)
|
||||||
|
|
Loading…
Reference in New Issue