基于nonebot异步框架的青年大学自动提交插件
Project description
各地区使用方式
参考
安装及更新
- 使用
git clone https://github.com/ZMXC01/nonebot_plugin_auto_teenstudy.git
指令克隆本仓库或下载压缩包文件 - 使用
pip install nonebot_plugin_auto_teenstudy
来进行安装,使用pip install nonebot_plugin_auto_teenstudy -U
进行更新
导入插件
使用第一种安装方式
- 将
nonebot_plugin_auto_teenstudy
放在nb的plugins
目录下,运行nb机器人即可
使用第二种安装方式
- 在
bot.py
中添加nonebot.load_plugin("nonebot_plugin_auto_teenstudy")
或在pyproject.toml
里的[tool.nonebot]
中添加plugins = ["nonebot_plugin_auto_teenstudy"]
机器人配置
-
在nonebot的.env配置文件中设置好超管账号
SUPERUSERS=[""]
-
请确保已安装以下第三方库(插件运行失败请检查第三方库有没有装完整)
asyncio anti_useragent secrets httpx string bs4 PIL
功能列表
大学习
一、主人专用
1、添加大学习配置|添加大学习用户|add_dxx
指令格式:添加大学习配置#QQ号#地区#姓名#学校#团委(学院)#团支部(班级)
2、删除大学习配置|删除大学习用户|del_dxx
指令格式:删除大学习配置#QQ号
3、查看大学习用户列表
4、查看大学习用户|查看大学习配置|check_dxx_user
指令格式:查看大学习用户#QQ号
5、完成大学习|finish_dxx
指令格式:完成大学习#QQ号
6、开启(关闭)图片回复|图片回复开(关)
二、全员可用
1、提交大学习
2、我的大学习|查看我的大学习|my_dxx
3、大学习功能|大学习帮助|dxx_help
4、设置大学习配置|set_dxx
指令格式:设置大学习#地区#姓名#学校#团委(学院)#团支部(班级)
5、查组织|查班级|check_class
指令格式:查组织#地区简写(例江西为:jx)#学校名称#团委名称
Ps:查组织功能对湖北用户无效!
To Do
- 增加更多地区支持
- 优化 Bot
-
逐步升级成群管插件
更新日志
2022/06/04
- 将代码上传至pypi,可使用
pip install nonebot_plugin_auto_teenstudy
指令安装本插件 - 增加已支持地区使用提示
- 上传基础代码
- 支持江西和湖北地区自动完成大学习(可在后台留记录)返回完成截图
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_auto_teenstudy-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de717424628941e81c587242111024ae228cdaa522007ae160b5ab8ebd2a7885 |
|
MD5 | 5a17d4a52c5f0f089bbb291f7767429a |
|
BLAKE2b-256 | b722ee97c1c42d1fcf5e83b14ab118a1079a8beb370cf2ec0ca0d6461d5dd3a9 |
Close
Hashes for nonebot_plugin_auto_teenstudy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12720fa1cf8f2a19afb938a181c9fff4711e631d2a313ef623972c9218c21971 |
|
MD5 | d08e83741d4050b81af25844793535b6 |
|
BLAKE2b-256 | 47231a2a21e108120ac89614272bd6c7611a90e436eded37b8fdabbb2ad4ea9f |