Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

dark0ghost/async_py_bot

Folders and files

NameName
Last commit message
Last commit date
Feb 2, 2021
Jan 27, 2021
Jan 24, 2021
Jan 24, 2021
Jan 27, 2021
Nov 24, 2020
Jan 22, 2020
Dec 18, 2020
Jan 28, 2021
Jan 28, 2021
Jan 24, 2021
Jan 27, 2021
Jan 24, 2021
Jan 24, 2021
Nov 20, 2019
Jul 5, 2022
Dec 15, 2019
Dec 22, 2019
Dec 18, 2020

Repository files navigation

async_py_bot

GitHub watchers GitHub issues GitHub release Github all releases GitHub code size

start with docker-compose:

cd async_py_bot
docker-compose up

bash up:

linux:

python3 async_py_bot/start_poling.py

windows:

python async_py_bot/start_poling.py

Functions bot:

1 start

/start ->
hello text

2 re

/re ->
deleted keyboard

3 log

/log -> send log_base.log

4 by

/by -> send by obj 

5 cat

/cat -> send cat file .png or .jpg or .gif

6 json

/json -> send link on cloud json or sate state and wait u json

About EVN

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

Dependencies

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

About

This repository shows how you can work with aviogram v2

project frozen