diff options
author | Georg Pfuetzenreuter | 2024-10-03 15:25:12 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2024-10-03 19:43:39 +0200 |
commit | 7ec49a9769d10dd66e1c30f579aba715ea8e7447 (patch) | |
tree | ea1ae6f0e37a1c1c72626210047974842327b0c6 /osrc/watbot_game.py | |
parent | b6187e007792836c3c29d6925a3fa97cb23791bf (diff) | |
download | watbot-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 'osrc/watbot_game.py')
0 files changed, 0 insertions, 0 deletions