txlyre 2 달 전
부모
커밋
9c3013f133
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      commands.py

+ 3 - 0
commands.py

@@ -668,6 +668,7 @@ async def chess_stop_handler(chess, id):
 async def chess_move_handler(chess, id, move):
     try:
         await chess.move(id, move)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e:
@@ -699,6 +700,7 @@ async def chess_undo_handler(chess, id):
 async def chess_skip_handler(chess, id):
     try:
         await chess.skip(id)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e:
@@ -717,6 +719,7 @@ async def chess_skip_handler(chess, id):
 async def chess_pass_handler(chess, id):
     try:
         await chess.move(id)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e: