txlyre 2 mesi fa
parent
commit
746ab7ddba
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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: