Default template for PDM package
Project description
nonebot-plugin-group-file-admin
✨ 简易的群文件管理 ✨
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-group-file-admin
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-group-file-admin
pdm
pdm add nonebot-plugin-group-file-admin
poetry
poetry add nonebot-plugin-group-file-admin
conda
conda install nonebot-plugin-group-file-admin
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_group_file_admin"]
⚙️ 配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| fa_del_model | 否 | 1 | 默认删除根目录文件模式(更多模式见下表) |
| fa_expand_name | 否 | 无 | 文件扩展名 |
| 值 | 说明 |
|---|---|
| 1 | 删除根目录文件 |
| 2 | 根据fa_expand_name配置项删除文件 |
| 3 | 一键清空群文件 |
🎉 使用
指令表
注意: 所有指令均需要以/开头
| 指令 | 权限 | 需要@ | 范围 |
|---|---|---|---|
| 清理群文件 | 主人 | 否 | 群聊 |
| 文件整理 | 主人 | 否 | 群聊 |
| 备份群文件 | 主人 | 否 | 群聊 |
| 恢复群文件 | 主人 | 否 | 群聊 |
| 清理本地文件 | 主人 | 否 | 群聊 |
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_group_file_admin-0.1.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_group_file_admin-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cdea4bcc9d7a9d5c67af0ad2b78ef46c1b4a24abd17b521240796ef2bfddf8d
|
|
| MD5 |
f2bbb93bd3ba2b778ea44616e69b5640
|
|
| BLAKE2b-256 |
4d76222ada513a60ea51168fa0857b88907953f02d2619c57e320ffed2859342
|
File details
Details for the file nonebot_plugin_group_file_admin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_group_file_admin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ec9bfadbdd9c9a11847fc3b105253619b5b37a36df1d6e4fbcde8930accd36d
|
|
| MD5 |
2fc36016794b64fbea1d8e48005724f9
|
|
| BLAKE2b-256 |
55af61617cb8a4a62b27631b799624024b7278ac0d13a99edacbdbe88019cd38
|