major-domo-v2/commands
Cal Corum bb82e56355 Fix /cc-create command creating twice instead of waiting for confirmation
The /cc-create command was immediately creating the custom command after the modal
was submitted, instead of waiting for the user to click the "Create Command" button
in the confirmation view.

Issue: Command handler was calling create_command() service immediately after modal
submission, before user confirmed via the preview buttons.

Fix: Removed premature command creation logic from the command handler. The modal's
on_submit method already shows a preview with confirmation buttons, and the
CustomCommandCreateConfirmationView.confirm_create button handler properly creates
the command only when the user clicks "Create Command".

Flow now correctly:
1. User submits modal with command details
2. Preview displays with "Create Command" and "Cancel" buttons
3. Command is only created when user clicks "Create Command" button
4. User can cancel without creating anything

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 08:28:45 -06:00
..
admin Update league_management.py 2025-11-06 22:11:56 -06:00
custom_commands Fix /cc-create command creating twice instead of waiting for confirmation 2025-11-14 08:28:45 -06:00
dice CLAUDE: Refactor dice rolling into reusable utility module and add /d20 command 2025-10-29 01:15:11 -05:00
draft CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
examples CLAUDE: Refine injury roll display and cleanup imports 2025-10-16 22:20:13 -05:00
gameplay CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
help CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
injuries CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
league CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
players Allow any user to toggle player stats 2025-10-21 13:06:03 -05:00
profile CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00
soak Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
transactions CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
utilities CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
voice CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00