Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Image Version: 2.0.3 Added ability to add charts with multiple images and manage them incrementally. Service Layer Changes (chart_service.py): - Added add_image_to_chart() method to append URLs to existing charts - Added remove_image_from_chart() method to remove specific URLs - Validation to prevent duplicate URLs in charts - Protection against removing the last image from a chart Command Layer Changes (charts.py): - Modified /chart-manage add to accept comma-separated URLs - Parse and strip URLs from comma-delimited string - Shows image count in success message - Displays first image in response embed - Added /chart-manage add-image command for incremental additions - Added /chart-manage remove-image command to remove specific URLs - All commands use chart autocomplete for easy selection - Admin/Help Editor permission checks on all management commands Usage Examples: # Add chart with multiple images in one command /chart-manage add defense "Defense Chart" gameplay "https://example.com/def1.png, https://example.com/def2.png" # Add additional images later /chart-manage add-image defense https://example.com/def3.png # Remove specific image /chart-manage remove-image defense https://example.com/def2.png 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .gitlab | ||
| .vscode | ||
| api | ||
| commands | ||
| models | ||
| services | ||
| tasks | ||
| tests | ||
| utils | ||
| views | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .mcp.json | ||
| bot.py | ||
| BUILD_AND_PUSH.md | ||
| build-and-push.sh | ||
| CLAUDE.md | ||
| COMMAND_LIST.md | ||
| config.py | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| DOCKER.md | ||
| Dockerfile | ||
| Dockerfile.versioned | ||
| exceptions.py | ||
| PRE_LAUNCH_ROADMAP.md | ||
| pyrightconfig.json | ||
| requirements.txt | ||
| test_real_data.py | ||