mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
[v4.11.2] - 🛠️ 定时报告可同时发送多种格式,可关闭报告发送时的 “📊 每日群聊分析报告已生成” 文字前缀
This commit is contained in:
@@ -649,7 +649,11 @@ class GroupDailyAnalysis(Star):
|
||||
)
|
||||
|
||||
if image_url:
|
||||
caption = TraceContext.make_report_caption() if self.config_manager.get_show_report_caption() else ""
|
||||
caption = (
|
||||
TraceContext.make_report_caption()
|
||||
if self.config_manager.get_show_report_caption()
|
||||
else ""
|
||||
)
|
||||
sent = await adapter.send_image(group_id, image_url, caption=caption)
|
||||
if sent:
|
||||
await self._try_upload_image(group_id, image_url, platform_id)
|
||||
|
||||
Reference in New Issue
Block a user