效果图
手动触发指令
/github_status 手动触发监控检查
/github_monitor 查看监控状态
配置说明
除了原有的配置项,现在还支持:
group_notification_targets: 群通知目标(群号列表),可以将通知发送到指定的群聊中time_zone: 时间显示时区(默认Asia/Shanghai,即可显示为北京时间)time_format: 时间显示格式,使用 Pythonstrftime语法,默认%Y-%m-%d %H:%M:%S
仓库配置增强功能
现在支持为每个仓库单独配置通知群组:
字符串格式配置(推荐)
"repositories": [
"owner/repo",
"owner/repo|123456|91219736"
]
字典格式配置
"repositories": [
{
"owner": "owner",
"repo": "repo"
},
{
"owner": "owner",
"repo": "repo",
"groups": ["123456", "91219736"]
}
]
示例:
"repositories": [
"1592363624/astrbot_plugin_github_monitor_shell",
"1592363624/astrbot_plugin_github_monitor_shell|123456789|91219736"
]
表示监控 1592363624/astrbot_plugin_github_monitor_shell 仓库,当第二个仓库有更新时,除了全局配置的群通知目标外,还会通知
123456789 和 91219736 群组。
🐔 联系作者
- 反馈:欢迎在 GitHub Issues 提交问题或建议
QQ群:91219736
telegram:巅峰阁