Nonebot2插件处理好友申请
Project description
指令
好友申请(权限为master_id|SUPERUSER)
- (被动) —— 接受好友请求
- 同意 —— 同意最近一次好友请求
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象
群聊申请(权限为群主|管理|master_id|SUPERUSER)
- (被动) —— 接受群聊申请
- 同意[number] —— 同意指定qq号添加好友
- (回复消息)同意 —— 同意改申请的对象
env配置
不知道可以不写 知道就按下面参数改添加到env中
bot_nickname = '宁宁'
master_nickname = '主人'
master_id = ['114514']
group_request = True # 开启群聊申请处理
🙈 其他
- 本项目仅供学习使用,请勿用于商业用途,喜欢该项目可以Star或者提供PR
- 爱发电
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
Built Distribution
File details
Details for the file nonebot_plugin_friends-0.1.3.tar.gz
.
File metadata
- Download URL: nonebot_plugin_friends-0.1.3.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45acf11325e2b920f960c7026bb709b1e9018894f416041a2a6292aae65fa8b6 |
|
MD5 | 1388a1143d0d9ef6d36e9c0b3f21ddb0 |
|
BLAKE2b-256 | f2a1a230fb24eb941989e997e28f4fb31940775542a2793359cdb796bbaee915 |
File details
Details for the file nonebot_plugin_friends-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_friends-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bbe6a29d0873e7d52d3e064d16c00763d0cbf7311c8eb28fb2b23eb3661647a |
|
MD5 | 5afb4892215fc282964d94b6d2c11c05 |
|
BLAKE2b-256 | c407408b853ca229439a2a2124c07a59896a0e495a470f68ef7bc17a021fece4 |