summaryrefslogtreecommitdiffstats
path: root/wat/integration.go
Commit message (Collapse)AuthorAgeFilesLines
* Lower nickname in Jeopardy cashoutGeorg Pfuetzenreuter2024-10-091-1/+1
| | | | | | | Align with GetTarget() which is used in games to have consistent handling of nicknames regardless of their casing. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Improve Jeopardy cashout messageGeorg Pfuetzenreuter2024-10-031-4/+36
| | | | | | | | | | | | Print only a single message instead of one per winner to reduce chat clutter. Skip cashout to users who won less than the possible cashout value as limited by the division value to avoid congratulating someone who only gets 0. Abort should a regression cause the logic to process an empty set of finishers to prevent unexpected behavior. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Explain Jeopardy finishers parsingGeorg Pfuetzenreuter2024-10-021-0/+11
| | | | | | Elaborate as the convoluted logic can be difficult to understand. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
* Refactor integrationsGeorg Pfuetzenreuter2024-10-021-0/+83
Move to a separate file for better code structure and to avoid huge branching inside Msg(). Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>