Skip to content

Latest commit

 

History

History
87 lines (57 loc) · 2.44 KB

File metadata and controls

87 lines (57 loc) · 2.44 KB
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-bfvgrouptools

✨ NoneBot 插件简单描述 ✨

license pypi python

📖 介绍

为 BFV 玩家提供状态查询、封禁记录查询,以及自动处理加群请求等功能的群管理插件

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-bfvgrouptools
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-bfvgrouptools
pdm
pdm add nonebot-plugin-bfvgrouptools
poetry
poetry add nonebot-plugin-bfvgrouptools
conda
conda install nonebot-plugin-bfvgrouptools

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_template"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
ALLOWED_GROUPS 启用群申请自动通过的群号

🎉 使用

指令表

指令 权限 需要@ 范围 说明
player= 群聊 查询玩家 bfban 和 bfvrobot 状态
pb= 群聊 查询屏蔽原因