wxpy icon indicating copy to clipboard operation
wxpy copied to clipboard

使用图灵机器人聊天时不能自动回复

Open hurricane1988 opened this issue 5 years ago • 0 comments

from wxpy import *

bot = Bot(cache_path=True, console_qr=True, qr_callback=True)

tuling = Tuling(api_key='xxxxxxxxxxxxxxxxxxxxxxxxxx')

found = bot.friends().search(u'xxxx')[0] #好友微信名称 found.send('test')

@bot.register(found) def reply_my_frined(msg): print(msg) tuling.do_reply(msg) embed()

hurricane1988 avatar Apr 30 '19 03:04 hurricane1988