WP-14: Tier Completion Notifications #79
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#79
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
When a tier is completed during post-game evaluation, send a Discord notification embed to the game channel.
Repo:
discord-app(tracked here for milestone)Phase: 1c (Bot Integration)
Dependencies: WP-13
Complexity: S
Notification Design
Tests (write first in
discord-app/tests/test_evolution_notifications.py)Plan reference:
docs/prd-evolution/PHASE1_PROJECT_PLAN.mdWP-14Implemented in cal/paper-dynasty-discord — PR: cal/paper-dynasty-discord#89
Approach:
utilities/evolution_notifications.py:tier_up_embed()builds a single embed (T4 gets "FULLY EVOLVED!" title + Phase 2 teaser footer; T1–T3 get "Evolution Tier Up!" with tier name);build_tier_embeds()accepts a list of tier-up dicts and returns one embed per event (empty list if none)TIER_COLORSexported (T1 green0x57F287, T2 gold0xF1C40F, T3 purple0x9B59B6, T4 teal0x1ABC9C)tests/test_evolution_notifications.py— all pass