Skip to content

v0.8.0 — Attendance RSVP

Choose a tag to compare

@10thTARDIS 10thTARDIS released this 15 Mar 23:45
· 10 commits to main since this release

Attendance RSVP. Session-confirmed embeds now include ✅ / ❌ reactions so players can indicate attendance directly from Discord. Reactions write to Quest Board's existing attendance table — no new backend endpoints required.

Changed

  • bot/cogs/notifications.py

    • _handle_confirmed — adds an "Attendance" field to the confirmed embed, seeds ✅ then ❌ reactions (0.5 s apart), and stores the message→session mapping with type: "attendance" so the voting cog routes reactions correctly
    • _store_message_map — accepts a new map_type parameter (default "voting"); stores "type" key in the mapping payload; backwards-compatible with existing Redis entries (missing key defaults to "voting")
    • Added _ATTENDANCE_EMOJIS = ["✅", "❌"] constant
  • bot/cogs/voting.py

    • _handle_reaction now reads mapping["type"] and branches:
      • "attendance" → delegates to new _handle_attendance_reaction: ✅ calls put_attendance(attended=True), ❌ calls put_attendance(attended=False); other emojis ignored
      • "voting" (default) → delegates to new _handle_vote_reaction (existing logic, now extracted to its own method)
    • Added _ATTEND_YES / _ATTEND_NO constants
  • docs/questboard-improvements.md — added four new entries for the Quest Board backend endpoints required by bot v0.9.0 and v0.10.0