wqww
This commit is contained in:
19
main.py
19
main.py
@@ -320,17 +320,18 @@ def kp(event_data):
|
|||||||
# newFriendDict=WXBotService.get_friend_info(account_wxid, newFriendWxid)
|
# newFriendDict=WXBotService.get_friend_info(account_wxid, newFriendWxid)
|
||||||
# userClass=models.User(**(newFriendDict['data']))
|
# userClass=models.User(**(newFriendDict['data']))
|
||||||
# crud.create_user(db= SessionLocal(),user=userClass)
|
# crud.create_user(db= SessionLocal(),user=userClass)
|
||||||
|
newMsg=f'''我是机器人🤖助理,智能gpt对话
|
||||||
|
“/img 英语描述” 可以文生图
|
||||||
|
.................................................
|
||||||
|
参与交流,请回复关键词 "加群"
|
||||||
|
……………………………………
|
||||||
|
一名开发者🧑💻
|
||||||
|
副业:跨境电商
|
||||||
|
爱折腾homelab
|
||||||
|
#公众号:异度世界'''
|
||||||
WXBotService.send_text_message(robot_wxid=account_wxid,
|
WXBotService.send_text_message(robot_wxid=account_wxid,
|
||||||
from_wxid=newFriendWxid,
|
from_wxid=newFriendWxid,
|
||||||
msg=f'我是机器人🤖助理,智能gpt对话
|
msg=newMsg)
|
||||||
“/img 英语描述” 可以文生图
|
|
||||||
.................................................
|
|
||||||
参与交流,请回复关键词 "加群"
|
|
||||||
……………………………………
|
|
||||||
一名开发者🧑💻
|
|
||||||
副业:跨境电商
|
|
||||||
爱折腾homelab
|
|
||||||
#公众号:异度世界')
|
|
||||||
|
|
||||||
elif msg_type == 42: # 42 名片消息
|
elif msg_type == 42: # 42 名片消息
|
||||||
xml_msg = ET.fromstring(msg)
|
xml_msg = ET.fromstring(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user