txlyre 2 ヶ月 前
コミット
edea2104f2
1 ファイル変更3 行追加0 行削除
  1. 3 0
      commands.py

+ 3 - 0
commands.py

@@ -712,6 +712,9 @@ async def chess_from_handler(chess, id, moves):
     if chess.is_check(id):
         reply.append("Шах!")
 
+    if isinstance(id, str):
+        reply.append(f"Ход {'белых' if chess.turn(id) else 'чёрных'}.")
+
     return reply