Go to file
2022-06-29 08:37:38 +08:00
.github/workflows no arm 32bit 2022-06-28 18:18:40 +08:00
.vscode Dev (#1) 2022-06-28 18:11:47 +08:00
entity Dev (#1) 2022-06-28 18:11:47 +08:00
migration Dev (#1) 2022-06-28 18:11:47 +08:00
src Dev (#1) 2022-06-28 18:11:47 +08:00
.dockerignore Dev (#1) 2022-06-28 18:11:47 +08:00
.DS_Store Dev (#1) 2022-06-28 18:11:47 +08:00
.gitignore Dev (#1) 2022-06-28 18:11:47 +08:00
Cargo.lock Dev (#1) 2022-06-28 18:11:47 +08:00
Cargo.toml Dev (#1) 2022-06-28 18:11:47 +08:00
Dockerfile try alpine 2022-06-29 08:37:38 +08:00
README.md Dev (#1) 2022-06-28 18:11:47 +08:00

Say something bot - Reborn

A telegram bot to record someone's message by forwarding

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.

rustup default nightly
cargo build

Or simply use docker.

docker build -t bot .