mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 05:49:02 +08:00
fix: mah adapter 不能接受好友请求
This commit is contained in:
parent
ac613b5839
commit
2885e6053c
@ -36,7 +36,8 @@ class NewFriendRequestEvent(RequestEvent):
|
||||
'eventId': self.event_id,
|
||||
'groupId': self.group_id,
|
||||
'fromId': self.from_id,
|
||||
'operate': 0
|
||||
'operate': 0,
|
||||
'message': ''
|
||||
})
|
||||
|
||||
async def reject(self,
|
||||
@ -46,7 +47,7 @@ class NewFriendRequestEvent(RequestEvent):
|
||||
"""
|
||||
:说明:
|
||||
|
||||
拒绝此人的好友申请
|
||||
拒绝此人的好友申请
|
||||
|
||||
:参数:
|
||||
|
||||
@ -135,7 +136,7 @@ class BotInvitedJoinGroupRequestEvent(RequestEvent):
|
||||
"""
|
||||
:说明:
|
||||
|
||||
通过这份被邀请入群申请
|
||||
通过这份被邀请入群申请
|
||||
|
||||
:参数:
|
||||
|
||||
@ -153,7 +154,7 @@ class BotInvitedJoinGroupRequestEvent(RequestEvent):
|
||||
"""
|
||||
:说明:
|
||||
|
||||
拒绝这份被邀请入群申请
|
||||
拒绝这份被邀请入群申请
|
||||
|
||||
:参数:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user