mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 修复多段文字错误的event.raw_text
This commit is contained in:
parent
d604c0fd25
commit
37b35e6eae
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user