当我们绞死资本家的时候,他们会把绳子卖给我们。——约瑟夫•维萨里奥诺维奇•斯大林
Go to file
2024-01-13 17:15:54 +08:00
.github/workflows
.vscode all ready 2024-01-13 12:43:07 +08:00
deploy/k8s fix bug 2024-01-13 13:26:53 +08:00
entity
migration
src bug fix for bot channel etc. 2024-01-13 17:15:54 +08:00
.envrc
.gitignore k8s deploy method 2024-01-13 12:59:31 +08:00
Cargo.lock all ready 2024-01-13 12:43:07 +08:00
Cargo.toml
default.nix
Dockerfile
flake.lock
flake.nix
LICENSE
README.md
shell.nix

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 .