WP-11: /evo status Slash Command #76
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#76
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Discord slash command
/evo statusshowing a paginated view of a team's evolution progress. Displays formula value vs next threshold with a progress bar.Repo:
discord-app(code lives in the bot repo, tracked here for milestone)Phase: 1c (Bot Integration)
Dependencies: WP-07
Complexity: M
Slash Command
Filters:
type(batter|sp|rp),season(default: current),tier(0-4),progress("close" = within 80% of next tier),page(default: 1, 10 per page)Display Format
Each entry shows: player name, track, current tier, progress bar toward next tier
Fully evolved cards show distinct badge/indicator.
Tests (write first in
discord-app/tests/test_evolution_commands.py)Plan reference:
docs/prd-evolution/PHASE1_PROJECT_PLAN.mdWP-11PR opened in discord repo: cal/paper-dynasty-discord#87
What was implemented:
cogs/evolution.py— newEvolutioncog with/evo statusgroup command; all formatting functions are module-level for testabilitytests/test_evolution_commands.py— 39 unit tests covering progress bar, entry formatting, close filter, pagination, tier names, empty roster, no-team responsepaperdynasty.py— registeredcogs.evolutionin the COGS listThe command gracefully handles the WP-07 API not being deployed yet (returns "No evolution data found" if the endpoint 404s/returns None).