txlyre 17 hours ago
parent
commit
edea2104f2
1 changed files with 3 additions and 0 deletions
  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