56635e0e1b
* init * bot framework done * here and ready for orm * might use sea-orm * orm done * use teloxide * ready to go? * 需要完成命令部分 * 需要完成:list_handler() * 查询用户名应当以@开头 * use rustls to avoid segfault? * postgresql ready * inline query done * list_handler * flattern code * test needed * ready to build * some bugs * almost done * ready to take off Co-authored-by: senset <dummy@dummy.d> |
||
---|---|---|
.github/workflows | ||
.vscode | ||
entity | ||
migration | ||
src | ||
.dockerignore | ||
.DS_Store | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
README.md |
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 .