Skip to main content

监听加群请求并通知管理员,通过指令同意/拒绝申请

Project description

logo

✨ nonebot-plugin-group-gatekeeper ✨

LICENSE pypi python uv
ruff pre-commit

📖 介绍

监听群聊的加群请求/邀请事件,并向群内发送申请人信息并@管理人,管理可进行回复来决定申请是否通过

💿 安装

【X】使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-group-gatekeeper --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-group-gatekeeper --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-group-gatekeeper --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-group-gatekeeper

安装仓库 master 分支

uv add git+https://github.com/dontdot/nonebot-plugin-group-gatekeeper@master
pdm
pdm add nonebot-plugin-group-gatekeeper

安装仓库 master 分支

pdm add git+https://github.com/dontdot/nonebot-plugin-group-gatekeeper@master
poetry
poetry add nonebot-plugin-group-gatekeeper

安装仓库 master 分支

poetry add git+https://github.com/dontdot/nonebot-plugin-group-gatekeeper@master

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

plugins = ["nonebot_plugin_group_gatekeeper"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-group-gatekeeper

使用 pypi 源安装

nbr plugin install nonebot-plugin-group-gatekeeper -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-group-gatekeeper -i "https://pypi.tuna.tsinghua.edu.cn/simple"

🎉 使用

指令表

指令 权限 需要@ 范围 说明
群管列表 主人、管理 群聊 查看bot在线时收到的进群申请
群管 同意/拒绝 主人、管理 群聊 处理进群申请
群管删除 [编号] 主人、管理 群聊 删除进群申请记录
群管帮助 主人、管理 群聊 查看群管所有指令

🎨 效果图

如果有效果图的话

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_gatekeeper-0.2.0.tar.gz (6.9 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_gatekeeper-0.2.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_group_gatekeeper-0.2.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_group_gatekeeper-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dd2dfd55ebb3b2dcd57ff374a6bd35c34d02dac6874ee0588d506d9db74535b1
MD5 871fa92e26dd183f74f425fb035e220a
BLAKE2b-256 76ad3c995bf85a5997c108dc185836fda0081a32e8f0cfab08311e2e80c7a8a3

See more details on using hashes here.

File details

Details for the file nonebot_plugin_group_gatekeeper-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_group_gatekeeper-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_group_gatekeeper-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e121805f9d798bcaea82587b5e05847bcc9ddebde72df648a4f05882767148f
MD5 3f558ac781b2ffc304b47a4072c164af
BLAKE2b-256 06b5408917ce2997f5eb400a3d01c42f413381780f586a195a67c9b3d35f818a

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