mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
remove unnecessary info
This commit is contained in:
parent
5868b68437
commit
2b92035fdc
@ -172,7 +172,6 @@ func (c *websocketClient) listenApi(conn *websocketConn, u bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *websocketClient) onBotPushEvent(m coolq.MSG) {
|
func (c *websocketClient) onBotPushEvent(m coolq.MSG) {
|
||||||
log.Infof(m.ToJson())
|
|
||||||
payload := gjson.Parse(m.ToJson())
|
payload := gjson.Parse(m.ToJson())
|
||||||
filter := global.GetFilter()
|
filter := global.GetFilter()
|
||||||
if filter != nil && (*filter).Eval(payload) == false {
|
if filter != nil && (*filter).Eval(payload) == false {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user