| Crates.io | perorustbot |
| lib.rs | perorustbot |
| version | 0.1.2 |
| created_at | 2021-06-12 13:55:18.008125+00 |
| updated_at | 2021-06-16 11:35:59.285597+00 |
| description | My personal telegram bot in rust |
| homepage | https://github.com/PeroSar/perorustbot |
| repository | |
| max_upload_size | |
| id | 409343 |
| size | 52,547 |
My personal telegram bot in rust
123456789:blablabla.TELOXIDE_TOKEN environmental variable to your token:# Unix-like
$ export TELOXIDE_TOKEN=<Your token here>
# Windows
$ set TELOXIDE_TOKEN=<Your token here>
# If you're using stable
$ rustup update stable
$ rustup override set stable
# If you're using nightly
$ rustup update nightly
$ rustup override set nightly
$ git clone https://github.com/PeroSar/perorustbot
$ cd perorustbot
$ # edit src/plugins/sudo.rs and replace my telegram id with yours
$ cargo run --release
$ cargo install perorustbot
$ # make sure you have ~/.cargo/bin/ in your PATH
$ perorustbot
list of commands