mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
✨ 增加初始化等待
This commit is contained in:
@@ -68,6 +68,7 @@ var engine = control.Register("manager", order.PrioManager, &control.Options{
|
||||
|
||||
func init() { // 插件主体
|
||||
go func() {
|
||||
defer order.DoneOnExit()()
|
||||
process.SleepAbout1sTo2s()
|
||||
_ = os.MkdirAll(datapath, 0755)
|
||||
clock = timer.NewClock(db)
|
||||
|
||||
Reference in New Issue
Block a user