指令中文化

This commit is contained in:
liuwei
2025-03-17 16:46:20 +08:00
parent 32728c2a9c
commit a1b40f0274

View File

@@ -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: