refactor: 重构 GetLoginAccountInfo 函数,移除 actionManager 依赖,并更新相关调用;修改 sendAlertMessage 函数为发送合并转发
This commit is contained in:
@@ -35,7 +35,7 @@ func help(msg model.Message) *model.Reply {
|
||||
textMsg := message.NewTextMessage()
|
||||
textMsg.Data.Text = helpInfo
|
||||
nodeMsg := message.NewNodeMessage()
|
||||
loginAccountInfo, err := action.ActionManager.GetLoginAccountInfo()
|
||||
loginAccountInfo, err := action.GetLoginAccountInfo()
|
||||
if err != nil {
|
||||
log.Println("GetLoginAccountInfo error:", err)
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user