<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)
Raw data
{
"_id": null,
"home_page": "https://github.com/Agnes4m/nonebot_plugin_friends",
"name": "nonebot-plugin-friends",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": "maimai, nonebot2, plugin",
"author": "Agnes_Digital",
"author_email": "Z735803792@163.com",
"download_url": "https://files.pythonhosted.org/packages/db/a0/abe55f81503228d3606958b95487cc4726b5c124e956b8dbfcd4f3d56ae6/nonebot_plugin_friends-0.1.4.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <img src=\"https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png\" width=\"180\" height=\"180\" alt=\"AgnesDigitalLogo\">\n <br>\n <p><img src=\"https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot_plugin_friends\n\n__\u2728Nonebot\u540c\u610f\u597d\u53cb\u2728__\n\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_friends/stargazers\">\n <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_friends\" alt=\"stars\">\n</a>\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_friends/issues\">\n <img alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_friends\" alt=\"issues\">\n</a>\n<a href=\"https://jq.qq.com/?_wv=1027&k=HdjoCcAe\">\n <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square\" alt=\"QQ Chat Group\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot_plugin_friends\">\n <img src=\"https://img.shields.io/pypi/v/nonebot_plugin_friends.svg\" alt=\"pypi\">\n</a>\n <img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n <img src=\"https://img.shields.io/badge/nonebot-2.0.0-red.svg\" alt=\"NoneBot\">\n</div>\n\n## \u6307\u4ee4\n\n### \u597d\u53cb\u7533\u8bf7\uff08\u6743\u9650\u4e3amaster_id|SUPERUSER\uff09\n\n- (\u88ab\u52a8) \u2014\u2014 \u63a5\u53d7\u597d\u53cb\u8bf7\u6c42\n- \u540c\u610f \u2014\u2014 \u540c\u610f\u6700\u8fd1\u4e00\u6b21\u597d\u53cb\u8bf7\u6c42\n- \u540c\u610f[number] \u2014\u2014 \u540c\u610f\u6307\u5b9aqq\u53f7\u6dfb\u52a0\u597d\u53cb\n- (\u56de\u590d\u6d88\u606f)\u540c\u610f \u2014\u2014 \u540c\u610f\u6539\u7533\u8bf7\u7684\u5bf9\u8c61\n\n### \u7fa4\u804a\u7533\u8bf7(\u6743\u9650\u4e3a\u7fa4\u4e3b|\u7ba1\u7406|master_id|SUPERUSER)\n\n- (\u88ab\u52a8) \u2014\u2014 \u63a5\u53d7\u7fa4\u804a\u7533\u8bf7\n- \u540c\u610f[number] \u2014\u2014 \u540c\u610f\u6307\u5b9aqq\u53f7\u6dfb\u52a0\u597d\u53cb\n- (\u56de\u590d\u6d88\u606f)\u540c\u610f \u2014\u2014 \u540c\u610f\u6539\u7533\u8bf7\u7684\u5bf9\u8c61\n\n## env\u914d\u7f6e\n\n\u4e0d\u77e5\u9053\u53ef\u4ee5\u4e0d\u5199\n\u77e5\u9053\u5c31\u6309\u4e0b\u9762\u53c2\u6570\u6539\u6dfb\u52a0\u5230env\u4e2d\n\n bot_nickname = '\u5b81\u5b81'\n master_nickname = '\u4e3b\u4eba'\n master_id = ['114514']\n group_request = True # \u5f00\u542f\u7fa4\u804a\u7533\u8bf7\u5904\u7406\n\n\n## \ud83d\ude48 \u5176\u4ed6\n\n- \u672c\u9879\u76ee\u4ec5\u4f9b\u5b66\u4e60\u4f7f\u7528\uff0c\u8bf7\u52ff\u7528\u4e8e\u5546\u4e1a\u7528\u9014\uff0c\u559c\u6b22\u8be5\u9879\u76ee\u53ef\u4ee5Star\u6216\u8005\u63d0\u4f9bPR\n- [\u7231\u53d1\u7535](https://afdian.net/a/agnes_digital)\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Nonebot2\u63d2\u4ef6\u5904\u7406\u597d\u53cb\u7533\u8bf7",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/Agnes4m/nonebot_plugin_friends",
"Repository": "https://github.com/Agnes4m/nonebot_plugin_friends"
},
"split_keywords": [
"maimai",
" nonebot2",
" plugin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "995ea895a5bde9a163028b68705e30828b183b51c679507f9e85e7ecf687242e",
"md5": "0abc1ff521c1bae63a2932a47c28b01c",
"sha256": "e534fd42455b40506253fea4fbc3ec1147d7268bcfeae8d0f52a626bff98e169"
},
"downloads": -1,
"filename": "nonebot_plugin_friends-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0abc1ff521c1bae63a2932a47c28b01c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 10214,
"upload_time": "2024-10-12T02:54:01",
"upload_time_iso_8601": "2024-10-12T02:54:01.707657Z",
"url": "https://files.pythonhosted.org/packages/99/5e/a895a5bde9a163028b68705e30828b183b51c679507f9e85e7ecf687242e/nonebot_plugin_friends-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dba0abe55f81503228d3606958b95487cc4726b5c124e956b8dbfcd4f3d56ae6",
"md5": "88921191154a4605b51f1b0208621e86",
"sha256": "49f487edad1a13e57a537ba047486acf5ed38972194efad714a4087d36bc03b1"
},
"downloads": -1,
"filename": "nonebot_plugin_friends-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "88921191154a4605b51f1b0208621e86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 6518,
"upload_time": "2024-10-12T02:54:02",
"upload_time_iso_8601": "2024-10-12T02:54:02.940863Z",
"url": "https://files.pythonhosted.org/packages/db/a0/abe55f81503228d3606958b95487cc4726b5c124e956b8dbfcd4f3d56ae6/nonebot_plugin_friends-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-12 02:54:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Agnes4m",
"github_project": "nonebot_plugin_friends",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nonebot-plugin-friends"
}