Fix: Remove /start command and handle @botname suffix #71

Closed
opened 2026-02-05 16:09:36 +09:00 by agentson · 0 comments
Collaborator

문제

  1. /start 명령어의 이름과 기능이 일치하지 않음
    • /start는 봇 초기화를 암시하지만 실제로는 help 텍스트만 표시
    • /help와 중복된 기능
  2. 그룹 챗에서 명령어가 @botname suffix와 함께 전송되어 매치 실패

해결

  • /start 명령어 제거 (중복 제거)
  • 명령어 파싱 시 @botname suffix 처리 추가

변경사항

  • handle_start 함수 제거
  • /start 명령어 등록 제거
  • /help에서 /start 참조 제거
  • 명령어 파싱: command.split('@')[0] 추가
  • test_start_command_content 테스트 제거
  • test_handle_command_with_botname 테스트 추가

영향

  • /start 명령어 더 이상 사용 불가
  • 그룹 챗에서 명령어 정상 동작
  • 5개 명령어 유지: /help, /status, /positions, /stop, /resume
## 문제 1. /start 명령어의 이름과 기능이 일치하지 않음 - /start는 봇 초기화를 암시하지만 실제로는 help 텍스트만 표시 - /help와 중복된 기능 2. 그룹 챗에서 명령어가 @botname suffix와 함께 전송되어 매치 실패 ## 해결 - /start 명령어 제거 (중복 제거) - 명령어 파싱 시 @botname suffix 처리 추가 ## 변경사항 - handle_start 함수 제거 - /start 명령어 등록 제거 - /help에서 /start 참조 제거 - 명령어 파싱: `command.split('@')[0]` 추가 - test_start_command_content 테스트 제거 - test_handle_command_with_botname 테스트 추가 ## 영향 - /start 명령어 더 이상 사용 불가 - 그룹 챗에서 명령어 정상 동작 - 5개 명령어 유지: /help, /status, /positions, /stop, /resume
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#71