Skip to main content

NoneBot2 加群自动审批

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-auto-enter-group

✨ NoneBot2 加群自动审批 ✨

license pypi python

帮助管理员审核入群请求,退群自动记录拒绝入群

📖 介绍

在群内播报申请和审核状态,添加关键词后自动进行模糊匹配。
可开启退群黑名单,自动拒绝退群的人再次申请。

💿 安装

使用 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"]

⚙️ 配置

无配置项,涉及到群管需用命令进行配置 插件数据存储在目录 ~/.local/share/nonebot2/nonebot_plugin_auto_enter_group

🎉 使用

指令表

指令 权限 需要@ 范围 说明
查看关键词 群主/管理员/超级用户 群聊 ————
添加/删除允许关键词 群主/管理员/超级用户 群聊 <关键词>
添加/删除拒绝关键词 群主/管理员/超级用户 群聊 <关键词>
启用/禁用退群黑名单 群主/管理员/超级用户 群聊 ————

🌹 鸣谢

感谢 大橘 提供的代码,多写点让我抄抄!
由于我不是代码相关专业,使用AI协助完成的代码

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_auto_enter_group-0.2.1.tar.gz (6.0 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_auto_enter_group-0.2.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_auto_enter_group-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f81700dcda3b287682f8453668811388b1ef59c0ef9ca7ed12e4266056afe578
MD5 711e79c05ffc781e5fffabb945d0f8a9
BLAKE2b-256 0df261821060a4f7ab9db923c6ff506631788d7cdd0e9b56759d654351a0aba0

See more details on using hashes here.

File details

Details for the file nonebot_plugin_auto_enter_group-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_auto_enter_group-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e03feb14d4ea3ec9d58737731b913a14c3a048e97a3ae6e2c49c5c6c479f367d
MD5 1990d835f8e7f10b1c3bf9516f210258
BLAKE2b-256 3afd0541914fa447a6cac7bd0642ad4c4acd87f675ee7a064badb66cd2ba47e6

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