From 84ec3127b90ed910bc590d134adce134ace41543 Mon Sep 17 00:00:00 2001 From: latand Date: Fri, 10 Sep 2021 19:16:11 +0300 Subject: [PATCH] updated requirements.txt --- app.py | 1 + data/config.py | 1 + handlers/__init__.py | 1 + handlers/users/asa.py | 0 requirements.txt | 2 +- 5 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 handlers/users/asa.py diff --git a/app.py b/app.py index 818fca7..b080cca 100644 --- a/app.py +++ b/app.py @@ -16,3 +16,4 @@ async def on_startup(dispatcher): if __name__ == '__main__': executor.start_polling(dp, on_startup=on_startup) + diff --git a/data/config.py b/data/config.py index e216714..1cb02ee 100644 --- a/data/config.py +++ b/data/config.py @@ -7,3 +7,4 @@ env.read_env() BOT_TOKEN = env.str("BOT_TOKEN") # Забираем значение типа str ADMINS = env.list("ADMINS") # Тут у нас будет список из админов IP = env.str("ip") # Тоже str, но для айпи адреса хоста + diff --git a/handlers/__init__.py b/handlers/__init__.py index 2db2f71..ed49383 100644 --- a/handlers/__init__.py +++ b/handlers/__init__.py @@ -2,3 +2,4 @@ from . import errors from . import users from . import groups from . import channels + diff --git a/handlers/users/asa.py b/handlers/users/asa.py new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt index 4a1001e..ee44160 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -aiogram~=2.12 +aiogram<3.0 environs~=8.0.0 \ No newline at end of file