1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00
This commit is contained in:
Mrs4s 2020-08-20 02:31:51 +08:00
parent c9a914b5d5
commit b7572f8d2c

View File

@ -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)