Show the destination, result and loot in Sokko TCG Discord alerts, with a button to the expedition
- Each queued alert keeps an embed and a link button: the destination illustration as thumbnail, the tier, score and loot for a return, the difficulty and automatic departure for a new group. - The button and the message link open #/cards/expeditions/<id>, which scrolls to the player's expedition or group and highlights it; Discord login now returns to that link. - Without an https CARDS_PUBLIC_ORIGIN the link stays in the text, without button or thumbnail, which Discord would refuse. - Delivery docs name palico-bot's NOTIFICATIONS_API_KEY and its local-only route on port 3101. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
734a3b6a8b
commit
82cebd0fd1
17 changed files with 184 additions and 37 deletions
|
|
@ -297,3 +297,4 @@ fieldset.nebula-admin-expedition-field:has(.nebula-admin-expedition-items) { gri
|
|||
.nebula-bag-item > :not(.nebula-bag-art, .nebula-bag-text) { grid-column: 1 / -1; }
|
||||
}
|
||||
.nebula-expedition-destination strong { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
|
||||
.nebula-expedition-journey[data-focused], .nebula-expedition-return[data-focused] { border-color: rgba(246, 196, 83, 0.8); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue