feat(bot): posts name the session by number and title in the embed title (#1184) #1185
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/1184-session-title-in-bot-posts"
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?
Closes #1184 (D304, replacing D86 for embed titles).
The owner saw the first 4.5.1 reminder on prod, "In an hour: Session 14", and asked for the session's title in it.
faces.session_headinggives "Session 14 · The Amberwake Council" (the number alone when untitled). It is used in the embed title of every face that names a session there: poll and closed poll ("When should Session 14 be? · {title} · {campaign}"), time added, confirmed, short-handed, reminder, cancelled, played, audio going, summary approved, votes so far, and the recording and recovery faces. The title is one-lined and is the only part cut to fit Discord's 256 characters. Descriptions and field values keep the number.vote_nudge,rsvp_nudge, #1166 rule 1), and their events no longer carry atitleat all.notification_dmis unchanged (D152).bot_post_facts.session_factssendstitleonly when the session has a real one. Nine events that used to send a placeholder ("Session 14", "Untitled Session") astitleno longer do, so the bot can trust the key.Additive on the wire; no
BOT_CONTRACT_VERSIONbump. A 4.5.1 bot against this backend keeps naming sessions by number.Verified
On
docker-test: bot suite (1211 passed); backendtest_bot_post_facts.py, the reminder, nudge, approval, scheduling, vote and notification modules and the wiki title-reader guard (387, then the one failing assertion fixed and its module re-run); ruff; version and changelog checks; J2 run for real in the desktop project (7 passed) before the poll-heading reorder, not after.Not verified: how Discord's client draws
*or_in an embed title (it may show emphasis; it cannot ping or link). The dev bot has no Discord token, so the first real look is on prod.🤖 Generated with Claude Code
"When should Session 14 be? · {title} · {campaign}", the title cut first. The vote reminder event no longer carries a title, like the RSVP nudge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>