hangitbot/README.md

44 lines
717 B
Markdown
Raw Permalink Normal View History

2023-12-24 10:59:55 +00:00
# Hangitbot
A boring bot for hanging your boss up.
```usage
hangitbot 0.1.0
A boring bot for hanging your boss up.
USAGE:
hangitbot [OPTIONS] --tgbot-token <TGBOT_TOKEN>
OPTIONS:
-d, --database-uri <DATABASE_URI>
Database URI [env: DATABASE_URI=] [default:
2023-12-24 11:04:25 +00:00
sqlite:///hangitbot.db]
2023-12-24 10:59:55 +00:00
-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 .
```