txlyre hace 2 meses
padre
commit
746ab7ddba
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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: