Skip to main content

a wechat bot developed for geeks

Project description


WechatBot is a wechat bot built for geeks.

1. 快速上手

1.1 安装

pip install wechatbot

1.2 用法

贴上示例代码, wechatbot/。

from wechatbot import WechatBot

bot = WechatBot()

def ping(msg):
    print msg
    if msg == 'ping':
        return 'pong'

if __name__ == '__main__':

扫描二维码之后,机器人就跑起来啦。 这时,可以向机器人发送一个ping的消息来看看服务是否正常。 对了,短暂退出不需要重新扫描二维码登录哦~

2. 规划


  • 在接受指令之后发送定制消息



  • 主动向某个用户发送消息

已支持pip安装,但是文档还没有更新,请fork后等待更新。如果你对这个项目有兴趣,啊哈,请通过chuanwusun@gmail.com或者扫描下方微信二维码联系我,独力难支,I NEED YOUR HELP.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wechatbot-1.0.5.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

wechatbot-1.0.5-py2-none-any.whl (11.6 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page