From 6a6ae9a5c36a63b564b45b33201e7c61c6982fea Mon Sep 17 00:00:00 2001 From: analista Date: Sun, 5 Apr 2026 10:15:59 +0000 Subject: [PATCH] fix(gateway): correct misleading log text for unknown /commands The warning said 'forwarding as plain text' but the code returns a user-facing error reply instead of forwarding. Describe what actually happens. --- gateway/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/run.py b/gateway/run.py index d19eef0c3..abc8e1433 100644 --- a/gateway/run.py +++ b/gateway/run.py @@ -2177,7 +2177,7 @@ class GatewayRunner: if command.replace("_", "-") not in GATEWAY_KNOWN_COMMANDS: logger.warning( "Unrecognized slash command /%s from %s — " - "forwarding as plain text", + "replying with unknown-command notice", command, source.platform.value if source.platform else "?", )