Skip to content

Oading/NoneBot-Plugin-Day60sec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoneBot-Plugin-Day60sec

NoneBot Plugin License Python


example.png

项目结构

NoneBot-Plugin-Day60sec/
├── archive/
│   ├── image/
│   └── json/
│       └── api-return-example.json
├── assets/
│   ├── background.png 
│   ├── example.png
│   └── fonts/
│       ├── Chillax-Regular.otf
│       └── SourceHanSansCN-Regular.otf
├── merge.py                              # json处理为img
├── plugin.py                             # 响应指令 每日定时推送 
├── request.py                            # 向api请求数据 存入archive/json内 格式: %Y-%m-%d.json
├── config.yaml                           # 填写token(querystring:token)与需要推送的群组(daily_report_groups)
├── .gitignore
├── LICENSE
├── README.md
└── requirements.txt

功能

Note

手动请求 & 自动推送 (7:30AM)

手动请求指令:

!reqday60s !reqday60s 每日早报

部署注意事项

api申请:alapi.cn->每日早报

api token:config.yaml->querystring:token

需要推送的群列表:config.yaml->daily_report_groups

依赖:requirements.txt

About

基于 Nonebot2 开发,推送每日早报的插件

Resources

License

Stars

Watchers

Forks

Languages