Paper Dynasty Discord - Discord bot for card game
When opening a Team Choice pack without a pre-assigned team, the bot would: 1. Edit the interaction to remove the pack selection view 2. Send team selection (AL/NL) via interaction.channel.send() 3. Return without sending a followup to the interaction 4. Discord left waiting for a response that never came Changed interaction.channel.send() to interaction.followup.send() with a helpful message explaining what's happening. This properly responds to the interaction and allows the team selection dropdown to function. The issue occurred at discord_ui/selectors.py:188 in SelectOpenPack callback. Fixes: /open-packs command hangs when selecting 'Team Choice' pack type 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .plans | ||
| .vscode | ||
| cogs | ||
| command_logic | ||
| discord_ui | ||
| helpers | ||
| in_game | ||
| migrations | ||
| tests | ||
| utilities | ||
| .dockerignore | ||
| .gitignore | ||
| alembic.ini | ||
| api_calls.py | ||
| constants.py | ||
| db_calls_gameplay.py | ||
| dice.py | ||
| discord_utils.py | ||
| Dockerfile | ||
| exceptions.py | ||
| gauntlets.py | ||
| help_text.py | ||
| helpers.py | ||
| LICENSE | ||
| manual_pack_distribution.py | ||
| paperdynasty.py | ||
| PRODUCTION_COGS.md | ||
| pytest.ini | ||
| random_content.py | ||
| requirements.txt | ||
| search_utils.py | ||
| utils.py | ||