dblock / slack-gamebot

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

Unable to modify incorrectly entered score #107

Open ghost opened 8 years ago

ghost commented 8 years ago

Currently, when a score is entered, such as "pb lost to sfoo 0-2" there's no way to correct/delete the match to remove the score.

In this particular case, a loss was recorded against a player in a case where a match had not occurred, and there was no way to remove the bad score.

dblock commented 8 years ago

Did you try doing this again? You should be able to update the score.

Do you think a captain should just be able to edit any match @hubbazoot? What would the command(s) for this look like?

ghost commented 8 years ago

How would you update the score?

suggested syntax:

@gamebot updategame <gamenumber> player1 lost to player2 0-2
@gamebot deletegame <gamenumber>
dblock commented 8 years ago

We want to be able to just undo a game all the way, including elo.