Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tsepanx/state-bot
- Owner: tsepanx
- Created: 2021-11-24T13:06:32.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T10:31:49.000Z (about 3 years ago)
- Last Synced: 2024-08-04T09:06:52.908Z (5 months ago)
- Topics: python, state-machine, telegram-bot
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```