mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
fix log.
This commit is contained in:
parent
c9a914b5d5
commit
b7572f8d2c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user