build.loader   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 7
dl 0
loc 25
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
3
4
from aiogram.contrib.fsm_storage.memory import MemoryStorage
5
from aiogram import Bot, Dispatcher, types
6
from data import config
7
8
9
"""
10
11
12
    Created on 10.09.2021
13
    
14
    @author: Nikita
15
16
17
"""
18
19
20
bot = Bot(token=config.BOT_TOKEN, parse_mode=types.ParseMode.HTML)
21
22
storage = MemoryStorage()
23
24
dp = Dispatcher(bot, storage=storage)
25