NoneBot2 加群自动审批
Project description
帮助管理员审核入群请求,退群自动记录拒绝入群
📖 介绍
在群内播报申请和审核状态,添加关键词后自动进行模糊匹配。
可开启退群黑名单,自动拒绝退群的人再次申请。
感谢 大橘 提供的代码,多写点让我抄抄!
由于我不是代码相关专业,使用AI协助完成的代码
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-auto-enter-group
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-auto-enter-group
pdm
pdm add nonebot-plugin-auto-enter-group
poetry
poetry add nonebot-plugin-auto-enter-group
conda
conda install nonebot-plugin-auto-enter-group
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_auto_enter_group"]
⚙️ 配置
无配置项,涉及到群管需用命令进行配置
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 查看关键词 | 群主/管理员/超级用户 | 否 | 群聊 | ———— |
| 添加/删除关键词 | 群主/管理员/超级用户 | 否 | 群聊 | <关键词> |
| 启用/禁用退群黑名单 | 群主/管理员/超级用户 | 否 | 群聊 | ———— |
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_auto_enter_group-0.1.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_auto_enter_group-0.1.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5bdb050c0cfaded8d02a63957401b9a7a4f274d6e56a9b59e162b4725a2ff67
|
|
| MD5 |
b01f9c6844635c7f26d0aedf9b766978
|
|
| BLAKE2b-256 |
5c3fea89177850f75812aed6810768d319bb908455d76018fcd2e6467db6e9dd
|
File details
Details for the file nonebot_plugin_auto_enter_group-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_auto_enter_group-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ef98eb7c0f79b55ad62c5d26d225761afdd53dd2051bc096623c38c4de9802c
|
|
| MD5 |
fa8f2ee75bdac2100be30cf775410a35
|
|
| BLAKE2b-256 |
a27deb91fd8de4f66da14567db0c5712d9d95e3acc1cf809f3c148059ec5092d
|