Merge pull request 'fix: remove /start command and handle @botname suffix (issue #71)' (#72) from fix/start-command-parsing into main
Some checks failed
CI / test (push) Has been cancelled

Reviewed-on: #72
This commit was merged in pull request #72.
This commit is contained in:
2026-02-05 17:15:14 +09:00
3 changed files with 27 additions and 64 deletions

View File

@@ -492,7 +492,8 @@ class TelegramCommandHandler:
if not command_parts:
return
command_name = command_parts[0]
# Remove @botname suffix if present (for group chats)
command_name = command_parts[0].split("@")[0]
# Execute handler
handler = self._commands.get(command_name)