fix: debug4
This commit is contained in:
parent
e97bd859fc
commit
17e3b6513f
@ -36,9 +36,11 @@ func (r *RobotTaskWithKeyworkds) Hit(event ws.ListenEventData, sender *accountFi
|
||||
r.Receiver = event.ChatUser
|
||||
for _, v := range r.keywords {
|
||||
if strings.Contains(event.Msg, v) {
|
||||
fmt.Printf("关键词比对:%s ----- %s : true", event.Msg, v)
|
||||
hit = true
|
||||
break
|
||||
}
|
||||
fmt.Printf("关键词比对:%s ----- %s: false", event.Msg, v)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user