feat: implement basic commands /start and /help (issue #63) #64

Merged
jihoson merged 1 commits from feature/issue-63-basic-commands into main 2026-02-05 13:56:51 +09:00
Collaborator

Summary

  • Integrate TelegramCommandHandler into main.py
  • Implement /start (welcome) and /help (command reference) commands
  • Add proper lifecycle management for command handler

Changes

  • src/main.py: Initialize command handler and register basic commands
  • tests/test_telegram_commands.py: Add 2 tests for command content validation

Features

  • /start: Welcome message with bot introduction and available commands
  • /help: Complete command reference with descriptions
  • Lifecycle Management: Command handler starts with system, stops on shutdown
  • HTML Formatting: Rich text formatting for better readability

Test plan

  • All tests pass (18/18 for telegram_commands)
  • /start command sends welcome message
  • /help command lists all available commands
  • Command handler integrates cleanly with main loop
  • Proper cleanup on shutdown

Closes #63
Depends on #61

🤖 Generated with Claude Code

## Summary - Integrate TelegramCommandHandler into main.py - Implement /start (welcome) and /help (command reference) commands - Add proper lifecycle management for command handler ## Changes - `src/main.py`: Initialize command handler and register basic commands - `tests/test_telegram_commands.py`: Add 2 tests for command content validation ## Features - **/start**: Welcome message with bot introduction and available commands - **/help**: Complete command reference with descriptions - **Lifecycle Management**: Command handler starts with system, stops on shutdown - **HTML Formatting**: Rich text formatting for better readability ## Test plan - [x] All tests pass (18/18 for telegram_commands) - [x] /start command sends welcome message - [x] /help command lists all available commands - [x] Command handler integrates cleanly with main loop - [x] Proper cleanup on shutdown ## Related Issues Closes #63 Depends on #61 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agentson added 1 commit 2026-02-05 13:56:08 +09:00
feat: implement basic commands /start and /help (issue #63)
Some checks failed
CI / test (pull_request) Has been cancelled
48a99962e3
Integrate TelegramCommandHandler into main.py and implement
welcome and help commands.

Changes:
- Import TelegramCommandHandler in main.py
- Initialize command handler and register /start and /help
- Start/stop command handler with proper lifecycle management
- Add tests for command content validation

Features:
- /start: Welcome message with bot introduction
- /help: Complete command reference
- Handlers respond with HTML-formatted messages
- Clean startup/shutdown integration

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
jihoson merged commit 20dbd94892 into main 2026-02-05 13:56:51 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#64