ogt 043ad3e6d9
All checks were successful
CD Pipeline / deploy (push) Successful in 1m21s
fix: /menu@BotName in group chat not parsed correctly
Root cause: Telegram appends @BotUsername to commands in group chats:
  /menu@OpenClawAwoool_Bot

The parser did:
  q = question.lstrip('/')   → 'menu@OpenClawAwoool_Bot'
  cmd = q.split()[0].lower() → 'menu@openclawawoool_bot'

This did NOT match 'menu' in KNOWN set, so the command fell through
to openclaw_answer() (natural language mode) → no menu appeared.

Fix: cmd = raw_cmd.split('@')[0]
  → strips @mention suffix before KNOWN lookup
  → /menu@OpenClawAwoool_Bot now correctly dispatches to handle_cmd('menu')

Affects all slash commands in group chat mode.
2026-04-20 05:55:00 +08:00
Description
EwoooC — 商品看板 + 業績報表 + AI KM (Flask + pgvector, Docker Compose on 188)
37 MiB
Languages
PostScript 59.7%
Python 30.9%
HTML 4.2%
CSS 2.1%
JavaScript 1.9%
Other 1.1%