chessbot
chessbot copied to clipboard
Resigning at the very beginning causes a http panic
Describe the bug Resigning at the very beginning of a match causes a panic and the bot does not respond to the user for the resign command.
To Reproduce Steps to reproduce the behavior:
- Start a new game
- Don't make any moves
- Mention the bot and resign
Expected behavior The game should end with the other player being awarded the win. Alternatively, if there are no moves, simply "cancel" the game and don't declare a winner.