Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

wxpy 0.3.6 (2017-4-15)

Compare
Choose a tag to compare
@youfou youfou released this 15 Apr 07:55
· 97 commits to master since this release
  1. [优化] 完善了日志输出,新增新消息/对应注册函数,及各种事件的日志,方便查找问题

    试试加入以下代码,查看完善后的日志

    import logging
    
    # 将日志设为调试等级
    logging.basicConfig(level=logging.DEBUG)
    
    # 减少网络层日志的干扰
    for m in 'requests', 'urllib3':
        logging.getLogger(m).setLevel(logging.WARNING)
  2. [新增] 支持通过 微信 ID 添加个人号或公众号为好友 (Bot.add_friend())

    例如通过 微信 ID 加 wxpy 机器人 为好友

    bot.add_friend('wxpy_bot')
  3. [新增] 消息转发功能 (Message.forward()) 新增支持转发自己发出的个人号名片

  4. [文档] 完善了各聊天对象类型的继承关系说明 (查看)