Miao-Yunzai/app.js

9 lines
228 B
JavaScript
Raw Normal View History

2023-03-04 14:30:13 +08:00
import Yunzai from './lib/bot.js'
/** 全局变量 bot */
global.Bot = await Yunzai.run()
2023-11-02 23:30:52 +08:00
2023-11-03 16:35:08 +08:00
if (Bot.uin == 88888) {
2023-11-02 23:30:52 +08:00
/** 跳过登录后加载插件... */
await ((await import('./lib/plugins/loader.js')).default).load()
}