🐛 修复一个event不存在字段的bug

This commit is contained in:
Wuyi无疑 2023-05-05 13:09:17 +08:00 committed by GitHub
parent 2a4af236b5
commit e482abdb9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,9 +55,6 @@ async def get_gs_msg(ev):
else:
bot_id = 'onebot'
if ev.to_me:
message.append(Message('at', self_id))
# 处理消息
for _msg in messages:
if _msg.type == 'text':