Commit b7572f8d authored by Mrs4s's avatar Mrs4s

fix log.

parent c9a914b5
......@@ -131,7 +131,6 @@ func (bot *CQBot) SendGroupMessage(groupId int64, m *message.SendingMessage) int
m.Elements = newElem
ret := bot.Client.SendGroupMessage(groupId, m)
if ret == nil || ret.Id == -1 {
log.Warnf("警告: 群 %v 消息发送失败, 账号可能被风控.", groupId)
return -1
}
return bot.InsertGroupMessage(ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment