build.data.config   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 13
dl 0
loc 19
rs 10
c 0
b 0
f 0
1
from environs import Env
2
3
env = Env()
4
env.read_env()
5
6
BOT_TOKEN = env.str("BOT_TOKEN")
7
ADMINS = env.list("ADMINS")
8
IP = env.str("ip")
9
10
# Config для базы данных
11
host = env.str("host")
12
database = env.str("database")
13
user = env.str("user")
14
password = env.str("password")
15
16
# Config для middleware
17
ban_time = 60
18
exceeded_count = 2
19