txlyre 21 hours ago
parent
commit
746ab7ddba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      commands.py

+ 2 - 0
commands.py

@@ -671,6 +671,8 @@ async def chess_from_handler(chess, id, moves):
             f"Конец игры: {str(e)}",
         ]
     except IllegalMove as e:
+        await chess.end(id)
+
         move = str(e)
 
         if move: