Skip to content

3.11.0 - Missing Twilight Struggle game warnings

Choose a tag to compare

@badBlackShark badBlackShark released this 15 Sep 12:55
· 406 commits to main since this release
96c2b51

Added

  • shrkbot warns its owner when a reported Twilight Struggle game never arrives. Site game ids ascend without gaps, so a gap in the stored ids is a game that went missing. The check runs a minute after a game arrives, which leaves a game sent at the same moment time to close its own gap, and the bot owner gets a DM naming what is still missing. Each gap is reported once. (#288)

Changed

  • The Twilight Struggle results API rejects an external_id that is not a number. PUT /api/twilight-struggle/v1/games/abc answers 422, and tournaments follow the same rule. (#289)