fix(internal/controller/pipes/qq_napcat): remove debug msg echo, now it can process commands

This commit is contained in:
2026-08-06 18:52:36 +08:00
parent 30ed0bd9ec
commit f342ef5b34
3 changed files with 8 additions and 16 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func (t *TelegramController) processCommand(cmd controller.Command) string {
// Hand the complete command to the unified processor, which checks group
// vs private, trusted groups, admin permissions, and executes it.
response, err := controller.GetManager().RouteCommand(parsed, t.cfg.TrustedGroups, t.cfg.Admins, t.cfg.ListenMethod)
response, err := controller.GetManager().Trigger(parsed, t.cfg.TrustedGroups, t.cfg.Admins, t.cfg.ListenMethod)
if err != nil {
postLog.Error("Telegram command processing failed: " + err.Error())
return ""