mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 04:16:07 +00:00
增加引用消息回复(暂时只是引用是机器人消息时候构建at并传入消息),增加小程序,转账,红包,视频号等消息的判断。
This commit is contained in:
@@ -227,7 +227,7 @@ class GewechatEventConverter(adapter.EventConverter):
|
|||||||
|
|
||||||
if event['Wxid'] == event['Data']['FromUserName']['string']:
|
if event['Wxid'] == event['Data']['FromUserName']['string']:
|
||||||
return None
|
return None
|
||||||
print(event)
|
# print(event)
|
||||||
message_chain = await self.message_converter.target2yiri(copy.deepcopy(event), bot_account_id)
|
message_chain = await self.message_converter.target2yiri(copy.deepcopy(event), bot_account_id)
|
||||||
|
|
||||||
if not message_chain:
|
if not message_chain:
|
||||||
|
|||||||
Reference in New Issue
Block a user