|
1 mesiac pred | |
---|---|---|
client | 1 mesiac pred | |
.gitignore | 1 mesiac pred | |
LICENSE | 1 mesiac pred | |
MsgSend.py | 1 mesiac pred | |
README.md | 1 mesiac pred | |
api_server.py | 1 mesiac pred | |
config.example.yaml | 1 mesiac pred | |
config.py | 1 mesiac pred | |
requirements.txt | 1 mesiac pred |
飞书机器人bot
首先填写config.example.yaml中你的机器人配置
# bot相关参数,填写对应登录凭证
bot:
app_id: YOUR_APP_ID
app_secret: YOUR_APP_SECRET
# 用户参数,填写你的唯一认证信息原来跟你发送消息
user:
open_id: YOUR_OPEN_ID
填写完成以后将config.example.yaml文件重命名为config.yaml
打开第一个命令行窗口 启动client开启ws长连接用于接收消息
python client/client.py
打开第二个命令行窗口 启动API中台
python api_server.py