summaryrefslogtreecommitdiffstats
path: root/wat/utils.go
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2024-10-03 15:25:12 +0200
committerGeorg Pfuetzenreuter2024-10-03 19:43:39 +0200
commit7ec49a9769d10dd66e1c30f579aba715ea8e7447 (patch)
treeea1ae6f0e37a1c1c72626210047974842327b0c6 /wat/utils.go
parentb6187e007792836c3c29d6925a3fa97cb23791bf (diff)
downloadwatbot-7ec49a9769d10dd66e1c30f579aba715ea8e7447.tar.gz
watbot-7ec49a9769d10dd66e1c30f579aba715ea8e7447.tar.bz2
watbot-7ec49a9769d10dd66e1c30f579aba715ea8e7447.zip
Improve Jeopardy cashout message
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>
Diffstat (limited to 'wat/utils.go')
0 files changed, 0 insertions, 0 deletions