mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
feat(html): 增加了html_only_url选项,使在选择输出格式为html时可以单独发送BaseURL (#166 @shiitin)
* 更改了AstrBot中面板的的设置项,增加了html_only_url选项 * 增加了html_only_url * 增加了单独发送URL 在html_only_url设置被打开且配置了Base URL后,将会单独发送URL * 加入测试日志,尝试解决存在问题 * 加入测试日志,尝试解决存在问题 * 删除了定时触发部分的测试日志 * 修改了手动触发部分的发送HTML的判断 * 修改了main.py的单行长度过长问题 * 修复了dispatcher.py的缩进问题
This commit is contained in:
@@ -372,6 +372,12 @@
|
||||
"default": "",
|
||||
"hint": "HTML报告文件的保存目录,用于存储生成的 HTML 文件和原始 JSON 数据。留空则自动使用插件数据目录(astrbot_path/data/plugin_data/astrbot_plugin_qq_group_daily_analysis/)下的 self_hosted_html_reports 目录。"
|
||||
},
|
||||
"html_only_url": {
|
||||
"type": "bool",
|
||||
"description": "仅发送外链",
|
||||
"default": false,
|
||||
"hint": "勾选后,若配置了外链 Base URL,则发送 HTML 报告时将只发送外链链接,不再发送HTML文件,若未勾选,将保持发送HTML文件。"
|
||||
},
|
||||
"html_filename_format": {
|
||||
"type": "string",
|
||||
"description": "HTML文件名格式",
|
||||
|
||||
Reference in New Issue
Block a user