A Battlefield V group management plugin for NoneBot2
Project description
📖 介绍
为 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= | 无 | 否 | 群聊 | 查询屏蔽原因 |
Project details
Release history Release notifications | RSS feed
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_bfvgrouptools-0.2.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_bfvgrouptools-0.2.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef8dc10d45e6e42d1b91036fd36f0fb73c7bc4631c8ce4ccc8c856b2c1ee3a2c
|
|
| MD5 |
aff845ae9ae3f6bcaf0145b995d903db
|
|
| BLAKE2b-256 |
0cda08cb02455f264832d9323b9a39f2b2ce91d19e218492aaf42a87cbd240ae
|
File details
Details for the file nonebot_plugin_bfvgrouptools-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_bfvgrouptools-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.6 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d5769fd6b064bc850d19bfacbdf358031eb503fb914aeca25cf1b2c219d72e7
|
|
| MD5 |
5e261c23977ccd1df7891f70ccf98db3
|
|
| BLAKE2b-256 |
6bf94cc940012c8ea5a6bdecce021bd5c4ab3974143a26569492186f2152ede0
|