fix: 删除重复执行

This commit is contained in:
ningmengchongshui 2024-06-17 14:57:48 +08:00
parent 6d170664df
commit 8adcf50e7e
2 changed files with 6 additions and 8 deletions

View File

@ -30,9 +30,6 @@ export class EventOnline extends EventListener {
logger.green(`${BOT_NAME} 上线成功 版本v${cfg.package.version}`)
)
logger.mark(logger.green('https://github.com/yoimiya-kokomi/Miao-Yunzai'))
// logger.mark('-----------')
/** 加载插件 */
await this.plugins.load()
/** 上线通知 */
this.loginMsg()

View File

@ -10,9 +10,10 @@ setTimeout(async () => {
/**
* run
*/
await Client.run()
/**
* Loader
*/
await Client.PluginsLoader()
await Client.run().then(async () => {
/**
* Loader
*/
await Client.PluginsLoader()
})
}, 0)