feat: 在消息处理逻辑中添加合并转发功能,当记录条数超过 5 条时使用合并转发,提升用户体验
This commit is contained in:
@@ -86,7 +86,7 @@ func (am *actionManager) SendForward(reply *model.Reply) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Default().Printf("\033[32m↑\033[0m:%s", string(sendPkgJson))
|
||||
log.Default().Printf("\033[32m↑\033[0m(forward):%s", string(sendPkgJson))
|
||||
if err = am.botConn.WriteMessage(websocket.TextMessage, sendPkgJson); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user