Ask for stars and wishes in the campaign's Discord channel #1255

Closed
opened 2026-10-28 04:07:26 +00:00 by claude-bot · 0 comments
Collaborator

Owner's request, 2026-10-28: add a prompt to players to give stars and wishes. The prompt already exists (#727: a card on Home for 36 hours after a session, players only, one ask; an email/DM first ask that each player must opt into, D161), but on prod it has been answered once ever. The owner chose "Ask in Discord": one post per session in the campaign's channel, not per player.

Approach. Fold the ask into the "Played: …" post the bot already makes when a session completes (EX-029, faces.played). No new event or message:

  • Backend: session_feedback_service.discord_ask(db, session) returns {"stars_wishes": {"url", "closes_at", "gm_name"}} when the window is open, the campaign is live and unarchived, and at least one player is asked (the same rule as Home and notify_asked, attendance included). Otherwise it returns {}. Merged into post_extra at both completion paths: session_service.complete_session (GM) and auto_complete_sessions.
  • Bot: faces.played adds one line linking to Home, with the closing time as a Discord timestamp. Without the block, the post is unchanged.
  • Additive extra field: no BOT_CONTRACT_VERSION bump; both sides in one commit.
  • Nothing about the session's content goes to Discord (D96 untouched): only the title already in the post, a link, and a time.
  • The wording goes on the Wording Review page for the owner.

Milestone: new capability, so v4.7.0 under the release cadence, unless the owner wants it sooner.

**Owner's request, 2026-10-28:** add a prompt to players to give stars and wishes. The prompt already exists (#727: a card on Home for 36 hours after a session, players only, one ask; an email/DM first ask that each player must opt into, D161), but on prod it has been answered once ever. The owner chose **"Ask in Discord"**: one post per session in the campaign's channel, not per player. **Approach.** Fold the ask into the "Played: …" post the bot already makes when a session completes (EX-029, `faces.played`). No new event or message: - Backend: `session_feedback_service.discord_ask(db, session)` returns `{"stars_wishes": {"url", "closes_at", "gm_name"}}` when the window is open, the campaign is live and unarchived, and at least one player is asked (the same rule as Home and `notify_asked`, attendance included). Otherwise it returns `{}`. Merged into `post_extra` at both completion paths: `session_service.complete_session` (GM) and `auto_complete_sessions`. - Bot: `faces.played` adds one line linking to Home, with the closing time as a Discord timestamp. Without the block, the post is unchanged. - Additive `extra` field: no `BOT_CONTRACT_VERSION` bump; both sides in one commit. - Nothing about the session's content goes to Discord (D96 untouched): only the title already in the post, a link, and a time. - The wording goes on the Wording Review page for the owner. Milestone: new capability, so v4.7.0 under the release cadence, unless the owner wants it sooner.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/Quest-Board#1255
No description provided.