From 7cedf9bd0e13efab3aa4a9e6546e5ad9e584b995 Mon Sep 17 00:00:00 2001 From: seagochen Date: Thu, 26 Feb 2026 16:13:03 +0900 Subject: [PATCH] fix: stop intercepting non-command : prefixed messages Change handleExtensionCommand default case to pass through unrecognized : prefixed messages as normal chat. Previously :) :D :thinking: etc. would return "Unknown command" across all channels (Telegram, Discord). Co-Authored-By: Claude Opus 4.6 --- pkg/agent/loop.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index af09b0086..291c2aa5a 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -1292,7 +1292,9 @@ Token usage (this session): ), true default: - return fmt.Sprintf("Unknown command: %s\nType :help for available commands.", cmd), true + // Don't intercept unrecognized : prefixed messages (e.g. :) :D :thinking:) + // Let them pass through as normal chat messages + return "", false } }