Metadata-Version: 2.1
Name: nonebot-plugin-friends
Version: 0.1.0
Summary: Nonebot2插件处理好友申请
Home-page: https://github.com/Agnes4m/nonebot_plugin_friends
License: MIT
Keywords: maimai,nonebot2,plugin
Author: Agnes_Digital
Author-email: Z735803792@163.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: nonebot-adapter-onebot (>=2.1.3,<3.0.0)
Requires-Dist: nonebot2 (>=2.0.0,<3.0.0)
Project-URL: Repository, https://github.com/Agnes4m/nonebot_plugin_friends
Description-Content-Type: text/markdown

<div align="center">
  <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180"  alt="AgnesDigitalLogo">
  <br>
  <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot_plugin_friends

__✨Nonebot同意好友✨__

<a href="https://github.com/Agnes4m/nonebot_plugin_friends/stargazers">
        <img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_friends" alt="stars">
</a>
<a href="https://github.com/Agnes4m/nonebot_plugin_friends/issues">
        <img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_friends" alt="issues">
</a>
<a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">
        <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">
</a>
<a href="https://pypi.python.org/pypi/nonebot_plugin_friends">
        <img src="https://img.shields.io/pypi/v/nonebot_plugin_friends.svg" alt="pypi">
</a>
    <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
    <img src="https://img.shields.io/badge/nonebot-2.0.0-red.svg" alt="NoneBot">
</div>

## 指令

### 好友申请（权限为master_id|SUPERUSER）

- (被动) —— 接受好友请求
- 同意 —— 同意最近一次好友请求
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象

### 群聊申请(权限为群主|管理|master_id|SUPERUSER)

- (被动) —— 接受群聊申请
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象

## env配置

不知道可以不写
知道就按下面参数改添加到env中

    bot_nickname = '宁宁'
    master_nickname = '主人'
    master_id = ['114514']
    group_request = True      # 开启群聊申请处理


## 🙈 其他

- 本项目仅供学习使用，请勿用于商业用途，喜欢该项目可以Star或者提供PR
- [爱发电](https://afdian.net/a/agnes_digital)


