update
This commit is contained in:
24
main.py
24
main.py
@@ -278,19 +278,11 @@ def kp(event_data):
|
|||||||
|
|
||||||
# 发送小程序
|
# 发送小程序
|
||||||
utils.sendminiProgram(data, account_wxid, wxid, planetXml)
|
utils.sendminiProgram(data, account_wxid, wxid, planetXml)
|
||||||
newMsg=f'''我是机器人🤖助理,智能gpt对话
|
newMsg = f'''我是机器人🤖助理,智能gpt对话 \n “/img 英语描述” 可以文生图 \n.................................................\n参与交流,请回复关键词 "加群"\n……………………………………\n一名开发者🧑💻 \n副业:跨境电商\n爱折腾homelab \n#公众号:异度世界'''
|
||||||
“/img 英语描述” 可以文生图
|
|
||||||
.................................................
|
|
||||||
参与交流,请回复关键词 "加群"
|
|
||||||
……………………………………
|
|
||||||
一名开发者🧑💻
|
|
||||||
副业:跨境电商
|
|
||||||
爱折腾homelab
|
|
||||||
#公众号:异度世界'''
|
|
||||||
if msg in ['test']:
|
if msg in ['test']:
|
||||||
WXBotService.send_text_message(robot_wxid=account_wxid,
|
WXBotService.send_text_message(robot_wxid=account_wxid,
|
||||||
from_wxid=wxid,
|
from_wxid=wxid,
|
||||||
msg=newMsg)
|
msg=newMsg)
|
||||||
|
|
||||||
# if msg in ['腾讯云']:
|
# if msg in ['腾讯云']:
|
||||||
# # 发送小程序
|
# # 发送小程序
|
||||||
@@ -320,15 +312,7 @@ 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对话
|
newMsg = f'''我是机器人🤖助理,智能gpt对话 \n “/img 英语描述” 可以文生图 \n.................................................\n参与交流,请回复关键词 "加群"\n……………………………………\n一名开发者🧑💻 \n副业:跨境电商\n爱折腾homelab \n#公众号:异度世界'''
|
||||||
“/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=newMsg)
|
msg=newMsg)
|
||||||
|
|||||||
Reference in New Issue
Block a user