This commit is contained in:
cdle
2021-09-20 19:31:48 +08:00
parent a96cb0538a
commit e60ca7504a
+4 -1
View File
@@ -92,7 +92,10 @@ func initSys() {
s.Reply("编译程序完毕。", E)
sillyGirl.Set("rebootInfo", fmt.Sprintf("%v %v %v", s.GetImType(), s.GetChatID(), s.GetUserID()))
s.Reply("更新完成,即将重启!", E)
Daemon()
go func() {
time.Sleep(time.Second)
Daemon()
}()
return nil
},
},