Archived
1
0
Fork 0

Update message.py

This commit is contained in:
yzhh 2022-08-28 00:32:10 +08:00
parent 10df3085ad
commit bd71db53e8

View file

@ -48,7 +48,8 @@ class MessageSession(MS):
wait = True
quote = True
async def sendMessage(self, msgchain, quote=True, disable_secret_check=False) -> FinishedSession:
async def sendMessage(self, msgchain, quote=True, disable_secret_check=False,
allow_split_image=True) -> FinishedSession:
msg = MessageSegment.text('')
if quote and self.target.targetFrom == 'QQ|Group' and self.session.message:
msg = MessageSegment.reply(self.session.message.message_id)