💿 安装
使用 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 | 一键清空群文件 |
🎉 使用
指令表
注意: 所有指令均需要以/开头
| 指令 | 权限 | 需要@ | 范围 |
|---|---|---|---|
| 清理群文件 | 主人 | 否 | 群聊 |
| 文件整理 | 主人 | 否 | 群聊 |
| 备份群文件 | 主人 | 否 | 群聊 |
| 恢复群文件 | 主人 | 否 | 群聊 |
| 清理本地文件 | 主人 | 否 | 群聊 |
Metadata
Release files for nonebot-plugin-group-file-admin 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_group_file_admin-0.1.3.tar.gz | 5.3 kB | Without provenance | Details for nonebot_plugin_group_file_admin-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_group_file_admin-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_group_file_admin-0.1.3-py3-none-any.whl |
Total release size: 11.4 kB
Release files / nonebot_plugin_group_file_admin-0.1.3.tar.gz
| Download URL | nonebot_plugin_group_file_admin-0.1.3.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67792d5b681a3e4a19427e3927396bf4e9c08d82982392b6eeefc9cbb1466b3a
|
|
BLAKE2b-256 checksum How to use checksums |
ab065ee495193a09b5eec12ffebe60cf677b260a3d7ebfeb9312670ebd805efe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / nonebot_plugin_group_file_admin-0.1.3-py3-none-any.whl
| Download URL | nonebot_plugin_group_file_admin-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dcfa833ae8b28597f3ebdf5fd27acc45e46a7bb56b56bbe92c84bc83d2343b1
|
|
BLAKE2b-256 checksum How to use checksums |
7ab769a9d84ce78c89df56da3cf8de477c1573cbab2fc28d2c15ced3bbae8f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for nonebot-plugin-group-file-admin 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.