mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
feat: 回退对群分析指令的更改
This commit is contained in:
@@ -112,9 +112,8 @@ retro_futurism 模板效果图
|
||||
<summary>📋 点击展开查看完整更新日志</summary>
|
||||
|
||||
### v4.5.2
|
||||
- 新增 `/查看模板` 指令,可查看所有模板预览图
|
||||
- 新增 `/查看模板` 指令,以合并转发消息形式查看所有模板预览图
|
||||
- `/设置模板` 指令现支持通过序号设置模板
|
||||
- `/群分析` 指令现可在任意群使用,无需先启用该群
|
||||
|
||||
### v4.5.1
|
||||
- BugFix
|
||||
|
||||
@@ -158,6 +158,11 @@ class QQGroupDailyAnalysis(Star):
|
||||
# 更新bot实例(用于手动命令)
|
||||
bot_manager.update_from_event(event)
|
||||
|
||||
# 检查群组权限
|
||||
if not config_manager.is_group_allowed(group_id):
|
||||
yield event.plain_result("❌ 此群未启用日常分析功能")
|
||||
return
|
||||
|
||||
# 设置分析天数
|
||||
analysis_days = (
|
||||
days if days and 1 <= days <= 7 else config_manager.get_analysis_days()
|
||||
|
||||
Reference in New Issue
Block a user