指令
好友申请(权限为master_id|SUPERUSER)
- (被动) —— 接受好友请求
- 同意 —— 同意最近一次好友请求
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象
群聊申请(权限为群主|管理|master_id|SUPERUSER)
- (被动) —— 接受群聊申请
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象
env配置
不知道可以不写 知道就按下面参数改添加到env中
bot_nickname = '宁宁'
master_nickname = '主人'
master_id = ['114514']
group_request = True # 开启群聊申请处理
🙈 其他
- 本项目仅供学习使用,请勿用于商业用途,喜欢该项目可以Star或者提供PR
- 爱发电
Metadata
Release files for nonebot-plugin-friends 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_friends-0.1.4.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_friends-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / nonebot_plugin_friends-0.1.4.tar.gz
| Download URL | nonebot_plugin_friends-0.1.4.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f487edad1a13e57a537ba047486acf5ed38972194efad714a4087d36bc03b1
|
|
BLAKE2b-256 checksum How to use checksums |
dba0abe55f81503228d3606958b95487cc4726b5c124e956b8dbfcd4f3d56ae6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / nonebot_plugin_friends-0.1.4-py3-none-any.whl
| Download URL | nonebot_plugin_friends-0.1.4-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e534fd42455b40506253fea4fbc3ec1147d7268bcfeae8d0f52a626bff98e169
|
|
BLAKE2b-256 checksum How to use checksums |
995ea895a5bde9a163028b68705e30828b183b51c679507f9e85e7ecf687242e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|