# CourseworkNotificationRobot **Repository Path**: thunder_h2o/CourseworkNotificationRobot ## Basic Information - **Project Name**: CourseworkNotificationRobot - **Description**: 一款基于NoneBot与酷Q机器人的作业通知机器人,需配合 作业管理系统(SchoolAssignmentManageSystem) 项目使用 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 作业通知机器人(CourseworkNotificationRobot) [![My Blog](https://img.shields.io/badge/Blog-lifepoem-orange.svg?style=flat-square)](http://www.lifepoem.cn/) [![Python Version](https://img.shields.io/badge/Python-3.6|3.7|3.8-success.svg?style=flat-square)](https://www.python.org/) [![Release latest](https://img.shields.io/badge/Release-latest-blue.svg?style=flat-square)](https://github.com/allwaysLove/ChaoXing-Automatic-watch-Course/releases) [![MIT License](https://img.shields.io/badge/LICENSE-MIT-yellow.svg?style=flat-square)](https://github.com/allwaysLove/ChaoXing-Automatic-watch-Course/blob/master/LICENSE) ## :bulb: 简介 **[CourseworkNotificationRobot](https://github.com/allwaysLove/CourseworkNotificationRobot)** 是一款基于NoneBot与酷Q机器人的作业通知机器人,需配合 [作业管理系统(SchoolAssignmentManageSystem)](https://github.com/allwaysLove/SchoolAssignmentManageSystem) 项目使用 ## :sparkling_heart: 作者 | Author | E-mail | Blog | | ------------------------------------------ | ---------------------------------------------------- | ------------------------------------------------ | | [冬酒暖阳](https://github.com/allwaysLove) | [mailto:1067764354@qq.com](mailto:1067764354@qq.com) | [博客:www.lifepoem.cn](https://www.lifepoem.cn) | ## :postal_horn: 功能展示 1. 发送当日作业通知 ![后台管理界面](README-images/通知当日作业.png) 2. 私聊询问作业 ![作业管理界面](README-images/私聊询问作业.png) 3. 发送当日新闻 ![发送新闻](README-images/发送新闻.png) ## :hammer: 安装 1. 通过源代码安装 ```shell git clone https://github.com/allwaysLove/CourseworkNotificationRobot.git python -m pip install -r requirements.txt ``` ## :blue_book: 使用 #### 具体使用方法详见 [NoneBot](https://github.com/nonebot/nonebot) 使用[文档](https://nonebot.cqp.moe/) 1. 使用命令行 cd 到项目根目录 3. 开启QQ机器人 ```shell python main.py ``` 3. Linux系统下,可以使用nohub命令,另其持续运行,并将运行时日志输出至 coolqPythonOut.log ```shell nohup python3.7 main.py > coolqPythonOut.log 2>&1 & ``` ## :memo: 目录结构及文件注释 ``` |-- CourseworkNotificationRobot |-- .gitignore |-- config.py |-- LICENSE |-- main.py |-- README.md |-- requirments.txt |-- bot |-- plugins |-- GroupAssignmentsManage.py |-- GuestUserAssignmentsManage.py |-- news.py |-- pluginsConfig.py |-- SuperUserAssignmentsManage.py ``` >| 文件名 | 注释 | >| ----------------------------- | -------------------- | >| .gitignore | git 忽略文件 | >| config.py | QQ机器人全局配置 | >| LICENSE | MIT许可证 | >| main.py | 机器人主函数 | >| README.md | 说明文档 | >| requirments.txt | 项目代码主要依赖库 | >| pluginsConfig.py | 机器人应用插件配置 | >| GroupAssignmentsManage.py | 群用户作业通知命令 | >| GuestUserAssignmentsManage.py | 私聊用户作业通知命令 | >| SuperUserAssignmentsManage.py | Django项目配置 | >| news.py | 新闻爬虫机器人 | ## :bookmark_tabs:版本更新日志 > ### [1.0.0] - 2020-03-26 > #### 项目1.0版本 > * 查询所有未到期的作业 > * 查询当日即将截止的作业 > * 查询自定义天数内截止的作业 > * 向通知群内发送作业 ## :clipboard: To-Do List - [ ] 增加撤回功能,支持撤回上一条消息 ## :bookmark_tabs: License [MIT © 2020 冬酒暖阳](https://github.com/allwaysLove/CourseworkNotificationRobot/blob/master/LICENSE)