fix: 避免阻塞主流程
This commit is contained in:
parent
99ab104312
commit
6dd174d9f1
@ -7,12 +7,14 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
action.ActionManager.SendMsg(model.Reply{
|
go func() {
|
||||||
ReplyMsg: "初始化完成",
|
action.ActionManager.SendMsg(model.Reply{
|
||||||
FromMsg: model.Message{
|
ReplyMsg: "初始化完成",
|
||||||
GroupInfo: model.GroupInfo{
|
FromMsg: model.Message{
|
||||||
GroupId: config.ConfigManager.GetConfig().Management.ReportGroup,
|
GroupInfo: model.GroupInfo{
|
||||||
|
GroupId: config.ConfigManager.GetConfig().Management.ReportGroup,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
})
|
||||||
})
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user