cd async_py_bot
docker-compose uplinux:
python3 async_py_bot/start_poling.pywindows:
python async_py_bot/start_poling.py/start ->
hello text
/re ->
deleted keyboard
/log -> send log_base.log
/by -> send by obj
/cat -> send cat file .png or .jpg or .gif
/json -> send link on cloud json or sate state and wait u json
| name | description |
|---|---|
| STATS_DB | The name of the database in which the metric will be stored |
| STATS_HOST | Database address |
| STATS_USER | The user who will interact with the database |
| STATS_PASS | Password from STATS_USER |
| TOKEN | Bot token |
| PAYMENTS_PROVIDER_TOKEN | Token for payments system in bot |
| TOKEN_QIWI | Token from Qiwi |
| POSTGRES | link for postgres; example: postgress://user:password@localhost:port |
| virustotal | Token from virustotal.com |
| etcherscan | Token from etcherscan.io |
| pastebin | Token from pastebin.com |
| cat_api | Token from thecatapi.com |
| MASTER | id admin user |
| name | version |
|---|---|
| Python | 3.7 (support 3.9) |
| docker | 19.03.12 |
| docker-compose | 1.21.0 |
| GCC | 9 (support 10) |
| aiofiles | 0.6.0 |
| aiogram | 2.11.2 |
| aiohttp | 3.7.3 |
| aiohttp-socks | 0.5.5 |
| aioinflux | 0.9.0 |
| aioredis | 1.3.1 |
| aiosmtplib | 1.1.4 |
| aiosocksy | 0.1.2 |
| gino | 1.0.1 |
| ujson | 4.0.2 |
This repository shows how you can work with aviogram v2
project frozen