Skip to content

1592363624/astrbot_plugin_github_monitor_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

:shell

License Python 3.10+ AstrBot GitHub

效果图

Shell截图_20251104142553

手动触发指令

/github_status 手动触发监控检查

/github_monitor 查看监控状态

配置说明

除了原有的配置项,现在还支持:

  • group_notification_targets: 群通知目标(群号列表),可以将通知发送到指定的群聊中
  • time_zone: 时间显示时区(默认 Asia/Shanghai,即可显示为北京时间)
  • time_format: 时间显示格式,使用 Python strftime 语法,默认 %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 群组。

🐔 联系作者

About

定时监控GitHub仓库commit变化并发送通知

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages