mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-17 16:20:05 +08:00
🐛 Fix Mirai group join event approve failed, fix #400
This commit is contained in:
parent
c9d80255ae
commit
136c9a2687
@ -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 = ""):
|
||||
|
Loading…
x
Reference in New Issue
Block a user