Improve Jeopardy cashout message #24

Merged
pratyush merged 1 commits from jeopardymsg into master 2024-10-03 19:55:50 +02:00
Owner

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

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>
Georg added 1 commit 2024-10-03 15:29:41 +02:00
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>
Georg force-pushed jeopardymsg from 3e5b99e1a9 to 7ec49a9769 2024-10-03 19:43:44 +02:00 Compare
pratyush merged commit c4ff70da70 into master 2024-10-03 19:55:50 +02:00
pratyush deleted branch jeopardymsg 2024-10-03 19:55:50 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LibertaCasa/watbot#24
No description provided.