定时设置算法比赛赛前提醒,提醒群友别错过比赛,查询codeforce,atc,牛客比赛消息
Project description
📖 介绍
算法比赛提醒,可以自动设置时间来为即将到来的算法比赛设置提醒(默认是赛前半小时,可以自己修改),同时也能查询今日在codeforces,牛客,atc上的比赛,让群友不再错过比赛(偷懒)
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot_plugin_matchreminder
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot_plugin_matchreminder
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_matchreminder"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| SUPERUSERS | 是 | 无 | 有功能需要超级管理员权限 |
在插件里的config文件里填写需要定时发送的时间和群聊
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| /cf,/nc,/atc | 群员 | 否 | 群聊 | 返回对应的比赛信息 |
| /今日比赛 | 群员 | 否 | 群聊 | 返回今天的比赛 |
| /提醒比赛 | 超级管理员 | 否 | 群聊 | 手动定时提醒 |
| /开摆 | 超级管理员 | 否 | 群聊 | 清除所有定时任务 |
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_matchreminder-1.0.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_matchreminder-1.0.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fa840ff675c0087d714800122c8b67578544ea323d80a1aa0b7ffc840c5326b
|
|
| MD5 |
f23c5da433f6c2c4ba730d75e0f7e89b
|
|
| BLAKE2b-256 |
de3002bbc1a1c11f7711cfb2d786e9714baaaeeb487244fc288d794544ff50de
|
File details
Details for the file nonebot_plugin_matchreminder-1.0.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_matchreminder-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f6b75f66027cf8959717ac8e649d8c5a157a7d39d5a67705149becd6226ff1c
|
|
| MD5 |
428ccbe7368d4deb726b0fbfdf90b746
|
|
| BLAKE2b-256 |
49c43fc985eef1a7b8ddb7cdd0b93273ed6852684f6812b9eb7250d0110a9755
|