25 lines
835 B
Markdown
25 lines
835 B
Markdown
# WeChatRobot
|
|
一个基于 [WeChatFerry](https://github.com/lich0821/WeChatFerry) 的微信机器人示例。
|
|
|
|
## Quick Start
|
|
1. 安装微信 `3.7.0.30`,下载地址可以从 [WeChatSetup](https://gitee.com/lch0821/WeChatSetup) 找到。
|
|
2. 克隆 [Demo 工程](https://github.com/lich0821/WeChatRobot)
|
|
```sh
|
|
git clone https://github.com/lich0821/WeChatRobot.git
|
|
# 如果慢,可以使用镜像库:
|
|
# git clone https://gitee.com/lch0821/WeChatRobot.git
|
|
```
|
|
|
|
操作失败?直接下载 [master.zip](https://gitee.com/lch0821/WeChatSetup/repository/archive/master.zip),然后双击解压即可。
|
|
3. 安装依赖
|
|
```sh
|
|
cd WeChatRobot
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
4. 运行
|
|
```sh
|
|
python main.py
|
|
# 如果微信未打开,会自动打开微信;如果版本不对,也会有提示;其他报错,请进群交流。
|
|
```
|