txlyre 2 luni în urmă
părinte
comite
746ab7ddba
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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: