⭐ 介绍
通用cd管理插件,可以设置和查看命令的冷却时间。
📜 免责声明
💿 安装
安装
pipx 安装
pipx install nonebot-plugin-cd-manager -U
nb-cli安装
nb plugin install nonebot-plugin-cd-manager -U
git clone安装(不推荐)
- 命令窗口
cmd
下运行
git clone https://github.com/Cvandia/nonebot-plugin-cd-manager
- 在窗口运行处 将文件夹
nonebot-plugin-cd-manager
复制到bot根目录下的src/plugins(或创建bot时的其他名称xxx/plugins)
注意
推荐镜像站下载
清华源https://pypi.tuna.tsinghua.edu.cn/simple
阿里源https://mirrors.aliyun.com/pypi/simple/
⚙️ 配置
在.env中添加以下配置
| 基础配置 | 类型 | 必填项 | 默认值 | 说明 |
|---|---|---|---|---|
| data_parent_path | str | 否 | "./data/cd_manager" | 数据存储路径,默认为"./data/cd_manager" |
⭐ 使用
指令:
| 指令 | 需要@ | 范围 | 说明 | 权限 |
|---|---|---|---|---|
| 设置cd | 否 | all | 设置命令的冷却时间 | all |
| 查看cd | 否 | all | 查看命令的冷却时间 | all |
| 删除cd | 否 | all | 删除命令的冷却时间 | all |
🌙 TODO
- 添加设置cd 指令
- 添加查看cd 指令
- 添加删除cd 指令
- 添加
full,in,statrt匹配机制 - 支持配置单条指令的匹配机制
💝 特别鸣谢
Metadata
Release files for nonebot-plugin-cd-manager 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_cd_manager-0.1.2.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_cd_manager-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / nonebot_plugin_cd_manager-0.1.2.tar.gz
| Download URL | nonebot_plugin_cd_manager-0.1.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c94fc2b6d2eb468b89a20437ab74438cb5661ad789ad23094811e590f538de52
|
|
BLAKE2b-256 checksum How to use checksums |
04193afefb898ca06e1932c600766d924957e1610e5ef4c8352b73e17db5ea6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.20.0.post1 CPython/3.10.9 Windows/10
|
Release files / nonebot_plugin_cd_manager-0.1.2-py3-none-any.whl
| Download URL | nonebot_plugin_cd_manager-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14e7a25a61875db032f6459b48fe547731d0a3c59f6f8c32cc49592158dcf434
|
|
BLAKE2b-256 checksum How to use checksums |
3a5d77985ba20c70cbd18d1807ed257a8afc65d04e0e55739312a08aec4df548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.20.0.post1 CPython/3.10.9 Windows/10
|