🐛 修复多段文字错误的event.raw_text

This commit is contained in:
Wuyi无疑
2023-03-29 14:49:29 +08:00
committed by GitHub
parent d604c0fd25
commit 37b35e6eae

View File

@ -34,7 +34,7 @@ async def msg_process(msg: MessageReceive) -> Event:
)
for _msg in msg.content:
if _msg.type == 'text':
event.raw_text = _msg.data # type:ignore
event.raw_text += _msg.data # type:ignore
elif _msg.type == 'at':
event.at = _msg.data
event.at_list.append(_msg.data)