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.
This commit is contained in:
analista
2026-04-05 10:15:59 +00:00
committed by Teknium
parent e8053e8b93
commit 6a6ae9a5c3

View File

@@ -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 "?",
)