新增通用HTML模板渲染器并将机器人菜单改为模板驱动输出
This commit is contained in:
@@ -12,6 +12,9 @@ image_fallback_to_text = false
|
||||
# md2image 渲染参数:可按服务器性能调整
|
||||
image_render_timeout_seconds = 45
|
||||
image_render_retries = 1
|
||||
# 菜单图片 HTML 模板路径(相对仓库根目录)
|
||||
# 后续 UI 改版只需要改模板文件,无需改 Python 代码
|
||||
image_template_path = "plugins/robot_menu/templates/menu_cards.html"
|
||||
command-format = """
|
||||
📝功能菜单指令:
|
||||
菜单 - 显示功能菜单
|
||||
|
||||
Reference in New Issue
Block a user