指令中文化
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user