Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: can sometimes give midnight trophy to wrong person #18

Open
konsou opened this issue Nov 22, 2023 · 0 comments
Open

Bug: can sometimes give midnight trophy to wrong person #18

konsou opened this issue Nov 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@konsou
Copy link
Collaborator

konsou commented Nov 22, 2023

If the bot receives happy midnight messages in the wrong order, it gives the prize to a wrong person.

Possible fixes:

  • wait for n seconds before giving the prize
  • don't stop processing happy midnight messages after the first winner is found - instead (for n seconds) process all midnight messages, and change the winner if applicable
@konsou konsou added the bug Something isn't working label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant