https://github.com/forecho/golden-wind-bot
https://github.com/forecho/golden-wind-bot
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/forecho/golden-wind-bot
- Owner: forecho
- Created: 2021-01-15T13:03:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T17:45:35.000Z (over 1 year ago)
- Last Synced: 2025-04-04T09:51:07.314Z (over 1 year ago)
- Language: Python
- Size: 35.2 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golden-wind-bot
```
pip3 install requests
pip3 install pyyaml
pip3 install telepot --upgrade
pip3 install slack_sdk
```
## 使用方法
复制配置文件,并且修改
```
cp config.yml.example config.yml
```
获取 Telegram `chat_id` :
```
python3 test_telegram.py
```
然后给 telegram bot 发消息,查看终端,第三个参数就是。
初始化数据库:
```
python3 init.py
```
发送消息命令(加定时任务就可以实现定时推送了):
```
python3 main.py
python3 ark.py
```