Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tsepanx/state-bot

A telegram bot uses transitions python module
https://github.com/tsepanx/state-bot

python state-machine telegram-bot

Last synced: about 2 months ago
JSON representation

A telegram bot uses transitions python module

Awesome Lists containing this project

README

        

# state-bot

## Setup

### Virtual environment

```shell
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
```

### Env config
Create `.env` file and set `API_TOKEN` with your token
```dotenv
API_TOKEN = "1111111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
```

## Run tests

```shell
$ python -m pytest tests.py
```