完善ServerChan服务 #1

This commit is contained in:
GamerNoTitle 2020-12-05 19:15:12 +08:00
parent 51e9ba08cd
commit a698297365
2 changed files with 8 additions and 2 deletions

View File

@ -29,4 +29,4 @@ jobs:
pip install -r requirements.txt pip install -r requirements.txt
- name: Run script - name: Run script
run: | run: |
python3 main.py "${{ secrets.cookie }}" "${{ secrets.teleid }}" "${{ secrets.teletoken }}" python3 main.py "${{ secrets.cookie }}" "${{ secrets.teleid }}" "${{ secrets.teletoken }}" "${{ secrets.SCKEY }}"

View File

@ -25,7 +25,7 @@
![](https://upimage.alexhchu.com/2020/11/22/e9b4bcf8e6a1d.png) ![](https://upimage.alexhchu.com/2020/11/22/e9b4bcf8e6a1d.png)
2、进入设置设置变量`cookie`和`teleid` `teletoken`(这两个可选) 2、进入设置设置变量`cookie`和`teleid` `teletoken` `SCKEY`(这三个可选)
[如何获取变量内容?请点这里](#变量内容获取) [如何获取变量内容?请点这里](#变量内容获取)
@ -73,6 +73,12 @@
![](https://upimage.alexhchu.com/2020/11/22/0428751a3925e.png) ![](https://upimage.alexhchu.com/2020/11/22/0428751a3925e.png)
### SCKEY获取
访问[ServerChan官网](http://sc.ftqq.com/?c=code)用你的Github账户登录在`发送信息`可以看到你的SCKEY
![](https://upimage.alexhchu.com/2020/12/05/dff25704763d8.png)
## Q&A ## Q&A
### 出现错误 telepot.exception.TelegramError ### 出现错误 telepot.exception.TelegramError