Skip to main content

Default template for PDM package

Project description

NoneBotPluginLogo

NoneBotPluginText

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

nonebot_plugin_group_file_admin-0.1.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_group_file_admin-0.1.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_group_file_admin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f2c0b665f673ef3ea4db6424e2e859e0a74623ad1ae08265e1a490d6751a2c24
MD5 7511f17ff8ac6bd3ae93887e7f006fcf
BLAKE2b-256 376c7c18c9cb0783e782c258617ba1a330d09f50f23571204922fccfd0239873

See more details on using hashes here.

File details

Details for the file nonebot_plugin_group_file_admin-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_group_file_admin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26125c4134e75371bb374d6e429cc3f5e767e69f720782221a4a12a1025dbdf3
MD5 cc5642fd4afdab015e3cb3287b7f66f3
BLAKE2b-256 8781ad5d7e797bd738672c5637b6a9890cf8f8328ce26eb7a1b126dee63073d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page