当我们绞死资本家的时候,他们会把绳子卖给我们。——约瑟夫•维萨里奥诺维奇•斯大林
Go to file
Sense T acb28484e1 1
2023-12-26 12:55:03 +08:00
.github/workflows 1 2023-12-26 12:55:03 +08:00
.vscode init 2023-12-24 18:48:40 +08:00
entity init 2023-12-24 18:48:40 +08:00
migration init 2023-12-24 18:48:40 +08:00
src make it pretty 2023-12-26 12:44:12 +08:00
.envrc init 2023-12-24 18:48:40 +08:00
.gitignore init 2023-12-24 18:48:40 +08:00
Cargo.lock init 2023-12-24 18:48:40 +08:00
Cargo.toml init 2023-12-24 18:48:40 +08:00
default.nix init 2023-12-24 18:48:40 +08:00
Dockerfile more 2023-12-24 18:59:55 +08:00
flake.lock init 2023-12-24 18:48:40 +08:00
flake.nix init 2023-12-24 18:48:40 +08:00
LICENSE more 2023-12-24 18:59:55 +08:00
README.md fix typo 2023-12-24 19:04:25 +08:00
shell.nix init 2023-12-24 18:48:40 +08:00

Hangitbot

A boring bot for hanging your boss up.

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:
            sqlite:///hangitbot.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 .