From 2885e6053c0e7fbfd6abd872daf158ca3ae73438 Mon Sep 17 00:00:00 2001 From: notnotype <=> Date: Sun, 7 Mar 2021 22:36:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mah=20adapter=20=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E6=8E=A5=E5=8F=97=E5=A5=BD=E5=8F=8B=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nonebot/adapters/mirai/event/request.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/nonebot-adapter-mirai/nonebot/adapters/mirai/event/request.py b/packages/nonebot-adapter-mirai/nonebot/adapters/mirai/event/request.py index 3bf82f01..3081b8b4 100644 --- a/packages/nonebot-adapter-mirai/nonebot/adapters/mirai/event/request.py +++ b/packages/nonebot-adapter-mirai/nonebot/adapters/mirai/event/request.py @@ -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): """ :说明: - 拒绝这份被邀请入群申请 + 拒绝这份被邀请入群申请 :参数: