Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kiwiyou/telegram-bot-template


https://github.com/kiwiyou/telegram-bot-template

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# telegram-bot-template

Rust telegram bot template.

It uses [`frankenstein`](https://github.com/ayrat555/frankenstein) for minimal dependencies.

## Features

- Settings using config directory.

config/{default, development, testing, production}.toml is supported.

by RUST_ENV=<config name> you can choose what config file you will use.

- Parse commandline arguments.

with `Command` and `Args` you can easily process bot commands.

## How to use

install [`cargo-generate`](https://github.com/cargo-generate/cargo-generate).

```bash
cargo generate --git https://github.com/kiwiyou/telegram-bot-template.git
```