当我们绞死资本家的时候,他们会把绳子卖给我们。——约瑟夫•维萨里奥诺维奇•斯大林
Go to file
2024-01-18 15:07:02 +08:00
.github/workflows update docker 2023-12-29 15:01:12 +08:00
.vscode all ready 2024-01-13 12:43:07 +08:00
deploy/k8s import shadow-rs for git version building into binary 2024-01-15 08:15:12 +08:00
entity init 2023-12-24 18:48:40 +08:00
migration init 2023-12-24 18:48:40 +08:00
src inline 模式 2024-01-18 15:07:02 +08:00
.envrc init 2023-12-24 18:48:40 +08:00
.gitignore k8s deploy method 2024-01-13 12:59:31 +08:00
build.rs import shadow-rs for git version building into binary 2024-01-15 08:15:12 +08:00
Cargo.lock inline 模式 2024-01-18 15:07:02 +08:00
Cargo.toml inline 模式 2024-01-18 15:07:02 +08:00
default.nix update pakcage 2023-12-29 14:53:04 +08:00
Dockerfile update workflow 2024-01-08 13:03:12 +08:00
flake.lock init 2023-12-24 18:48:40 +08:00
flake.nix update workflow 2024-01-08 13:03:12 +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 .