feat(internal/controller): split trigger from controller.go as a seperate module.
feat(internal/controller/pipes/qq_napcat): add message receive debug output.
This commit is contained in:
1 parent
1d09765a4a
commit
10c3727b01
3 files changed
+62
-44
No files matched your search
@@ -95,6 +95,10 @@ func (q *QQController) handleNapcatEvent(raw []byte) {
|
||||
return
|
||||
}
|
||||
|
||||
if config.GetConfig().System.DebugMode && config.GetConfig().Debug.ShowNapcatMsg {
|
||||
postLog.Debug("Napcat WS event received: " + string(raw))
|
||||
}
|
||||
|
||||
// Only handle message events; ignore notice/request/meta_event.
|
||||
if ev.PostType != "message" {
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user