saysthbot-reborn/README.md

44 lines
784 B
Markdown
Raw Normal View History

2022-06-23 14:03:57 +00:00
# Say something bot - Reborn
A telegram bot to record someone's message by forwarding
```usage
saysthbot-reborn 0.1.0
A telegram bot to record someone's message by forwarding
USAGE:
saysthbot-reborn [OPTIONS] --tgbot-token <TGBOT_TOKEN>
OPTIONS:
-d, --database-uri <DATABASE_URI>
Database URI [env: DATABASE_URI=] [default:
sqlite:///saysthbot.db]
-D, --debug
Enable debug mode
-h, --help
Print help information
-t, --tgbot-token <TGBOT_TOKEN>
Telegram bot token [env: TGBOT_TOKEN=]
-V, --version
Print version information
```
## build
You should use `nightly` build kit.
```bash
rustup default nightly
cargo build
```
Or simply use docker.
```bash
docker build -t bot .
```