AmimeWatch
A Telegram bot to watch animes.
Re-written version of AmimeWatch in Rust.
Preparing
Configuration
Create a file named config.toml
and fill with your data:
[telegram]
api_id = 1
api_hash = ""
[bot]
token = ""
prefixes = ["/"]
Database
Create the database with and put your MySQL URL in the environment like:
export DATABASE_URL="mysql://root:toor@localhost:3306/amime"
Logging
export RUST_LOG=info cargo run
Running
Just do:
cargo run --release