Add instructions

This commit is contained in:
Changhua
2022-09-27 22:02:45 +08:00
parent 050ff9e6cf
commit bd0bfa07a3

View File

@@ -1,7 +1,24 @@
# WeChatRobot # WeChatRobot
A Robot based on WeChatFerry. 一个基于 [WeChatFerry](https://github.com/lich0821/WeChatFerry) 的微信机器人示例。
## Quick Start ## 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 ```sh
python main.py python main.py
# 如果微信未打开,会自动打开微信;如果版本不对,也会有提示;其他报错,请进群交流。
``` ```