- ATK/DEF/Heal now accept K/M shorthand (500K, 1.4M, case-insensitive) via
a shared parser (@helpers/stat-value), used identically by the Submit
Score modal, /tg score set, and /tg-admin score-inject
- /tg-admin score-modal — officers can open the Submit Score modal on
behalf of any player; the modal's customId now carries the target
userKey so submission always resolves to the intended player rather
than whoever's Discord client is submitting it
- fix: /tg call now actually reveals the Submit Score button (was
recording the call but never opening submission)
- fix: /tg poll reload no longer resurrects Submit Score / Yes-No buttons
that had already been removed — poll state now tracks submission-open
and buttons-removed explicitly instead of re-deriving it from
locked/confirmed on every render
- fix: midnight cleanup now fully removes all poll buttons (not just
Submit Score) instead of leaving them disabled
- Sleep Check — players on a configured role get flagged (💤 shown on
their poll row) the moment they vote Yes; a scheduled per-slot job DMs
everyone currently flagged at a configurable time before TG (default
20 min). State changes and DM sending are intentionally decoupled —
flagging never itself sends a message. Officers can also flag/clear
manually via /tg-admin sleep-check set|clear
- data/updates/v0.9.2 and new v0.10 changelog entries for the above
- merged the two .claude reference docs into one, removed stale/fixed
items, documented the new systems and known deferred gaps
43 lines
No EOL
2.2 KiB
JSON
43 lines
No EOL
2.2 KiB
JSON
{
|
|
"version": "v0.9.2",
|
|
"date": "2026-07-30",
|
|
"title": "Score Button Fix, W.Rank Reset Fix & Shorthand Stat Input",
|
|
"layout": "default",
|
|
"sections": [
|
|
{
|
|
"type": "fix",
|
|
"label": "Fixes",
|
|
"emoji": "🔧",
|
|
"items": [
|
|
{ "text": "Fixed Submit Score button not updating the Leaderboard or auto-posting the TG Result" },
|
|
{ "text": "Fixed W.Rank weekly reset writing Bringer data into the wrong week and not creating the new week correctly" },
|
|
{ "text": "Fixed Bringer incorrectly being assigned to a player who met the TG count goal but was not W.Rank 1" },
|
|
{ "text": "Fixed weekly reset overwriting the previous week's Bringer data" },
|
|
{ "text": "`/tg call` now actually ends the TG and opens the Submit Score button immediately — previously it recorded the call but never revealed the button" },
|
|
{ "text": "Fixed `/tg poll reload` bringing back the Submit Score (or Yes/No) buttons after they'd already been removed for the night" }
|
|
]
|
|
},
|
|
{
|
|
"type": "improvement",
|
|
"label": "Improvements",
|
|
"emoji": "✨",
|
|
"items": [
|
|
{ "text": "Submit Score modal now has separate ATK and DEF fields" },
|
|
{ "text": "Heal field in the Submit Score modal only appears for healing classes (FA)" },
|
|
{ "text": "Attack, Defense, and Healing scores now accept shorthand like `500K` or `1.4M` (case-insensitive) instead of typing the full number" },
|
|
{ "text": "`/tg score set` and `/tg-admin score-inject` accept the same ATK/DEF/Heal shorthand as the Submit Score modal, for consistency across all three ways to submit a score" },
|
|
{ "text": "All poll buttons are now fully removed (not just disabled) once a TG's night is over, instead of lingering in a disabled state" }
|
|
]
|
|
},
|
|
{
|
|
"type": "technical",
|
|
"label": "Under the hood",
|
|
"emoji": "🛠️",
|
|
"items": [
|
|
{ "text": "`/tg-admin score-modal` — officers can open the Submit Score modal on behalf of any player, for testing or backfilling a missed submission" },
|
|
{ "text": "Poll state now tracks explicitly whether score submission is open, instead of re-deriving it from lock/confirm status on every render" }
|
|
]
|
|
}
|
|
],
|
|
"examples": []
|
|
} |