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: