mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-30 22:46:40 +00:00 
			
		
		
		
	🐛 Fix Mirai group join event approve failed, fix #400
This commit is contained in:
		| @@ -91,7 +91,8 @@ class MemberJoinRequestEvent(RequestEvent): | ||||
|                                       'eventId': self.event_id, | ||||
|                                       'groupId': self.group_id, | ||||
|                                       'fromId': self.from_id, | ||||
|                                       'operate': 0 | ||||
|                                       'operate': 0, | ||||
|                                       'message': '' | ||||
|                                   }) | ||||
|  | ||||
|     async def reject(self, | ||||
| @@ -147,7 +148,8 @@ class BotInvitedJoinGroupRequestEvent(RequestEvent): | ||||
|                                       'eventId': self.event_id, | ||||
|                                       'groupId': self.group_id, | ||||
|                                       'fromId': self.from_id, | ||||
|                                       'operate': 0 | ||||
|                                       'operate': 0, | ||||
|                                       'message': '' | ||||
|                                   }) | ||||
|  | ||||
|     async def reject(self, bot: "Bot", message: str = ""): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user