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.4.tar.gz
.
File metadata
- Download URL: nonebot_plugin_friends-0.1.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f487edad1a13e57a537ba047486acf5ed38972194efad714a4087d36bc03b1 |
|
MD5 | 88921191154a4605b51f1b0208621e86 |
|
BLAKE2b-256 | dba0abe55f81503228d3606958b95487cc4726b5c124e956b8dbfcd4f3d56ae6 |
File details
Details for the file nonebot_plugin_friends-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_friends-0.1.4-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.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e534fd42455b40506253fea4fbc3ec1147d7268bcfeae8d0f52a626bff98e169 |
|
MD5 | 0abc1ff521c1bae63a2932a47c28b01c |
|
BLAKE2b-256 | 995ea895a5bde9a163028b68705e30828b183b51c679507f9e85e7ecf687242e |