Total Complexity | 0 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 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 |