Skip to main content

处理好友申请和群邀请,支持查看申请、手动同意/拒绝申请、同意/拒绝全部申请。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-add-friends

✨ 处理好友申请和群邀请,支持查看申请、手动同意/拒绝申请、同意/拒绝全部申请。 ✨

GitHub stars license pypi python

📖 介绍

此插件用于远程处理好友申请和加群邀请,支持查看申请、手动同意/拒绝申请、同意/拒绝全部申请。

💿 安装

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

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

plugins = ["nonebot_plugin_add_friends"]

⚙️ 配置

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

配置项 必填 默认值 说明
SUPERUSERS Bot的超级用户,用于接收、同意/拒绝好友申请及群邀请信息。

🕹️ 使用

指令表

指令 权限 需要@ 范围 说明
查看申请 主人 私聊 查看待处理申请
同意/拒绝申请 <QQ号/群号> 主人 私聊 同意/拒绝申请
同意/拒绝全部申请 主人 私聊 同意/拒绝全部申请

🎉 鸣谢

感谢以下开发者对本插件作出的贡献: Agnes4m

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_add_friends-0.1.2.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.

nonebot_plugin_add_friends-0.1.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_add_friends-0.1.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_add_friends-0.1.2.tar.gz
Algorithm Hash digest
SHA256 24cc6bbb06677e0581a729ca6b55c36941eb915d76b168ded31c53fac2e8034a
MD5 d0ab896e7ac36cf6f4432a8d2925fa13
BLAKE2b-256 2c5cd0899b185998e23137898d3d34a00eb349948cc958a1da8b33a8f8e8e013

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_add_friends-0.1.2.tar.gz:

Publisher: pypi-publish.yml on hakunomiko/nonebot-plugin-add-friends

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_add_friends-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_add_friends-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a428ebb7fc5290af7a868e6a376b08a19212517c989b0c1c5c08517b39d06ce3
MD5 f39cdfd7d2b9549f00931e1f67f89f01
BLAKE2b-256 56d44edfa65aa900d50e09f7b104c2e699ff53a560603fe25ee0f99acd63ded4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_add_friends-0.1.2-py3-none-any.whl:

Publisher: pypi-publish.yml on hakunomiko/nonebot-plugin-add-friends

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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