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:
2026-08-06 17:17:01 +08:00
parent 1d09765a4a
commit 10c3727b01
3 changed files with 62 additions and 44 deletions
@@ -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