dblock / slack-gamebot

Ping pong, chess, pool and other games bot for Slack.
MIT License
129 stars 103 forks source link

`@pongbot lost` recorded a loss to the wrong user #151

Closed rclmenezes closed 7 years ago

rclmenezes commented 7 years ago

A user used @pongbot lost to record a loss. However, they forgot to specify the winner so the loss was recorded to someone else (who either challenged the user forever ago or maybe it chose the top player because of a bug).

As an aside, it would be nice for captain to alter/fix scores of previous games.

dblock commented 7 years ago

It probably recorded the loss against a previous challenge. This is a dup of https://github.com/dblock/slack-gamebot/issues/28, challenges older than, say, 24 hours should just expire. Will close this one.

Opened https://github.com/dblock/slack-gamebot/issues/152 for the alter/fix scores suggestion.

rclmenezes commented 7 years ago

Thanks!