from wxpy import *
#新建机器人,扫码登陆
bot =Bot()
#图灵接口,初始化机器人
tuling = Tuling(api_key="82edbb0725xxxxxxbc70c831e40c8e08") #自己上图灵官网申请api_key
#自动回复,处理文字消息
@bot.register() #装饰器
def auto_reply_all(msg):
tuling.do_reply(msg)
#开始运行
bot.join()
from wxpy import *
#新建机器人,扫码登陆
bot =Bot()
#图灵接口,初始化机器人
tuling = Tuling(api_key="82edbb0725xxxxxxbc70c831e40c8e08") #自己上图灵官网申请api_key
#自动回复,处理文字消息
@bot.register() #装饰器
def auto_reply_all(msg):
tuling.do_reply(msg)
#开始运行
bot.join()
本文标题:2018-12-30微信自动回复机器人
本文链接:https://www.haomeiwen.com/subject/vaumlqtx.html
网友评论