Adds a cron-driven CLI command that emails the GM a player attendance summary at noon on the session date, skipping automatically if the game was canceled or today isn't game day, and tracking last-sent date so it won't double-send. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
21 lines
409 B
JSON
21 lines
409 B
JSON
{
|
|
"date": "Tuesday Jan 23, 2024 6:30pm",
|
|
"players": [
|
|
{
|
|
"name": "Player1",
|
|
"attending": "unknown",
|
|
"email": "somebody@somehost.com",
|
|
"gm": true
|
|
},
|
|
{
|
|
"name": "Player2",
|
|
"attending": "yes",
|
|
"email": "somebodyelse@somehost.com",
|
|
"gm": false
|
|
}
|
|
],
|
|
"inc_days": 7,
|
|
"status": "planned",
|
|
"password": "ABC123",
|
|
"last_notice_sent_date": ""
|
|
}
|