txlyre 18 hours ago
parent
commit
7cced3eddb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      commands.py

+ 2 - 2
commands.py

@@ -838,7 +838,7 @@ CHESS_COMMANDS = {
     "board": (chess_board_handler, "Показать доску", 0),
     "moves": (chess_moves_handler, "Показать историю ходов и состояние игры", 0),
 
-    "create": (chess_start_handler, "Создать общую доску (в личных чатах эквивалентно start)", 0),
+    "create": (chess_start_handler, "Создать общую доску", 0),
 }
 
 CHESS_ALIASES = {
@@ -900,7 +900,7 @@ async def chess_handler(bot, event, command):
         args = command.args[1:]
 
     peer_id = str(get_peer_id(event.peer_id))
-    result = await subcommand[0](bot.chess, peer_id if not event.is_private and (name == "create" or (peer_id in bot.chess.sessions and name not in ("start", "from"))) else event.sender.id, *args)
+    result = await subcommand[0](bot.chess, peer_id if name == "create" or (peer_id in bot.chess.sessions and name not in ("start", "from")) else event.sender.id, *args)
 
     for reply in result:
         if isinstance(reply, bytes):