https://github.com/fasterthanlime/telegram-bot-tide
Demo of `telegram-bot` and `tide` crates used together
https://github.com/fasterthanlime/telegram-bot-tide
Last synced: about 1 year ago
JSON representation
Demo of `telegram-bot` and `tide` crates used together
- Host: GitHub
- URL: https://github.com/fasterthanlime/telegram-bot-tide
- Owner: fasterthanlime
- Created: 2020-04-11T21:30:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T21:32:17.000Z (about 6 years ago)
- Last Synced: 2025-04-20T17:40:01.925Z (about 1 year ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# telegram-bot-tide
Using `tide` to receive Civ 6 webhooks + sending Telegram notifications
via `telegram-bot`.
## Running
```
cargo b
TELEGRAM_CHAT_ID=1 LISTEN_ADDR=0.0.0.0:6969 TELEGRAM_BOT_TOKEN=foobar ./target/debug/telegram-bot-tide
```
## Testing
```
curl -H "Content-Type: application/json" --request POST --data '{"value1":"test","value2":"lkl","value3":"42"}' http://localhost:6969
```
## Credits
Written by [@michcioperz](https://twitter.com/Michcioperz), I just
fixed it up a little so it would run!