From a1b40f0274daaa472c8b1347462165a9a6c04901 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 17 Mar 2025 16:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E4=BB=A4=E4=B8=AD=E6=96=87=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot_cmd/robot_command.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/robot_cmd/robot_command.py b/robot_cmd/robot_command.py index 12c968e..36460e0 100644 --- a/robot_cmd/robot_command.py +++ b/robot_cmd/robot_command.py @@ -137,15 +137,15 @@ class GroupBotManager: command_parts = command_str.strip().split("-") # 如果是MENU指令,返回功能列表 - if command_str.strip().upper() == "MENU": + if command_str.strip().upper() == "菜单": return f"群ID:{group_id} \n {GroupBotManager.display_menu_status(group_id)}" # 如果是MENU-STATUS指令,返回功能列表及其状态 - if command_str.strip().upper() == "MENU_STATUS": + if command_str.strip().upper() == "菜单状态": return f"群ID:{group_id} \n {GroupBotManager.display_menu_status(group_id)}" # 如果是GROUP_LIST指令,返回 group:list 清单 - if command_str.strip().upper() == "GROUP_LIST": + if command_str.strip().upper() == "群列表": return GroupBotManager.get_group_list() if len(command_parts) < 2: